Bug 839836 - add an alternative to FindClass that works well in JNI-invoked code without MOZILLA_INTERNAL_API