Add checking for JNI calls via a new ExceptionCheckingJniEnv Reviewed-by: sspitsyn, amenkov, dholmes, mikael