[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"
[Runtime] Add i18n support for widget

Manifest will prase i18n item, and we can get i18n string
from GetString

Finish the todo so that we can get a locale name or
description when locale is changed.
[Android] Refine the pause/resume behavior for packaged web app

* Pause all timers when the activity is paused, and resume them when the
  activity is resumed.
* Add boolean flag to indicate if the timers are paused or XWalkView is hidden
* Update the API documentations for pauseTimers/resumeTimers are also

BUG=https://crosswalk-project.org/jira/browse/XWALK-1603
Bump version to 6.35.130.0
DEPS.xwalk: Roll v8-crosswalk (da94d1b->d27abf4)
[Android] envsetup: Simplify xwalk_android_gyp() a little.

Make it more in line with its android_gyp() counterpart by removing the
line saying which generator is being used (we always use ninja anyway),
and stop running gyp_xwalk in a subshell.
Merge pull request #1887 from dp7/master

DEPS.xwalk: Roll v8-crosswalk (da94d1b->d27abf4)
Merge pull request #1837 from yeyuyinjie/i18n_support

[Runtime] Add i18n support for widget
[Runtime] Enable the folder based i18n support for WGT package.

The WGT folder based i18n support based on system locale setting and
application default locale setting (in config.xml), this patch will
enable to load resources by these locale settings.

For more details, please refer to
http://www.w3.org/TR/widgets/#folder-based-localization

The related bug is https://crosswalk-project.org/jira/browse/XWALK-1030