[Linux] Add NaCl support

Based on NaCl component work (http://crbug.com/244791) from upstream,
this commit is to add Native Client(aka NaCl) support.
It now can run examples from nacl sdk.
  $ cd <nacl_sdk_dir>/pepper_canary/example
  $ TOOLCHAIN=newlib make serve
  $ xwalk http://localhost:5103

BUG=XWALK-1338
[Android] Use intent actions to handle navigation according to MIME type.

Currently only "application/*" MIME type are handled by intent actions,
for other MIME types (text/*, video/*...) are still handled by XWalk.

BUG=XWALK-1560
[Android] Refine the callback function of compressor.

This patch is to refine the feature of compressor.
optparse stores the converted value when we use '--compressor'
at the first time. Then we use '--compressor=css', optparse
does not consume the argument.
Add 'type' and 'nargs', they instruct optparse to consume the
argument and convert the parameter to related type.
Add test case for this feature.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1151
[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 evaluateJavascript.

This patch is to add the test case for evaluateJavascript.
Open a html file, set the title by evaluateJavascript, verify the
title with expected title.
[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