[Android] Enable the geolocation feature.

Some files were copied from the android_webview, like as InMemorySharedPreferences.java, \
runtime_geolocation_permission_context.cc. They were modified according to the current \
project requirements, remove the jni dependency, since this feature is required on \
other platforms.

BUG=
TEST=build/android/run_instrumentation_tests.py --test-apk XWalkCoreTest \
--verbose -I --num_retries=1 -f testGeolocationPermissionShowPrompt