[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
[SMACK] Label xwalk binaries with User domain

*In order to make all xwalk binaries running with same User domain
 label, we enforce "exec_label" property for them.
[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] Crosswalk Sample code

This is the initial version of Crosswalk Sample app.
It uses Crosswalk Embedding API, and covers below API usage:
1. XWalkView UI Inflation
2. Multiple XWalkView instances
3. Manifest
4. XWalkResourceClient and XWalkUIClient
5. Preferences
6. Page Navigation
7. Pause/resume JavaScript Timers
8. Visibility Change

BUG=XWALK-1230
Merge pull request #1846 from kurli/embedded-api-sample-code

[Android] Crosswalk Sample code
[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.
Bump version to 6.35.129.0
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.