[Android] Use Java long for JNI pointer

- replace all stashed pointers in java from
"int mNative" to "long mNative".

- change all casts from "reinterpret_cast<jint>"
(and other variations) to "reinterpret_cast<intptr_t>"
that would then be expanded to jlong.

Upstream switched to long by default so we don't need
to special case our JNI generators anymore.

Also fixed a few false positives of the style scripts.
[Android] Add xwalk_core_sample_apk to xwalk_builder

This is the first step to package CrosswalkSample.apk into crosswalk daily release.

BUG=XWALK-1324
[Android] envsetup: Stop unsetting CHROMIUM_GYP_FILE.

This is one step towards simplifying our envsetup.sh. Chromium stopped
touching CHROMIUM_GYP_FILE in r248748, and it is safe for us to do the
same.
Merge pull request #1873 from kurli/package-crosswalk-sample

[Android] Add xwalk_core_sample_apk to xwalk_builder
[Android] Add the @interface JavascriptInterface.

This annotation is used for XWalkView.addJavascriptInterface. This
is for security check so all Java methods called by JavaScript code
should be marked with this annotation.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1596
[Runtime] Add locale logic to runner, and implement locale for tizen.

Add a class TizenLocaleListener to listen and get the
locale of tizen.

Move
runtime/browser/xwalk_runner_tizen.cc
runtime/browser/xwalk_runner_tizen.h
because tizen runner need tizen locale listener who depend
on vconf, and vconf only used on tizen.

We need refresh name on the dbus when application locale
is changed(because we may get a new name on new locale).
Merge pull request #1874 from rakuco/no-unset-chromium_gyp_file

[Android] envsetup: Stop unsetting CHROMIUM_GYP_FILE.
[Tizen][Runtime] Add support for installer signals.

Currently when install/uninstall/update Crosswalk app, xwalk-pkg-helper
will manipulate Tizen pkgmgr DB directly with
pkgmgr_parser_parse_manifest_* APIs. We need to call
pkgmgr_installer_send_signal in the helper to broadcast package status
change events, therefore they can be used by Application API.

BUG=XWALK-1446
Revert "[Android] Add xwalk_core_sample_apk to xwalk_builder"

This reverts commit 5c52d2d319a221130e142798d889452209b23a69.

This commit will break the build when clean build.
Need further investigation about gyp dependency.
Merge pull request #1836 from yeyuyinjie/system_locale

[Runtime] Add application locale to application system
Merge pull request #1863 from darktears/android-jni-long

[Android] Use Java long for JNI pointer
Merge pull request #1872 from shaochangbin/send-signal

[Tizen][Runtime] Add support for installer signals.
Merge pull request #1876 from yongsheng/fix1596

[Android] Add the @interface JavascriptInterface.
Merge pull request #1878 from kurli/build-fail

Revert "[Android] Add xwalk_core_sample_apk to xwalk_builder"
[Android] Add the test case for addJavascriptInterface.

In this test case, we should use "@JavascriptInterface", it's from
"org.xwalk.core.JavascriptInterface", not
"android.webkit.JavascriptInterface".
In addition, if the target sdk version will be equal to or greater
than 17, "@JvascriptInterface" is required.

BUG=XWALK-1595