[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] 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.
[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"
[Extension] Implemented bulk data transmission enhancement feature.

Enhanced the feature of postMessage and postSyncMessage by
introduced shared memory when transmitting big bulk of data, also
used a threshold kLargeThreashouldBytes to control if we need to
use shared memory or IPC message.

The feature was implemented based on some new IPC message for
requesting shared memory, appending shared memory between renderer
process and extension process, with some message handler functions
both in XWalkExtensionServer and XWalkExtensionClient. Also added
a buffer map both in XWalkExtensionInstance and
XWalkExtensionModule to hold the transmitting data temporarily,
and provided interface functions to handle the buffer for each
transmission.

Also implemented a test case in extensions/test.

BUG: https://crosswalk-project.org/jira/browse/XWALK-1377