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

After locale was changed, we need to update widget info.
So that application widget api will get a localiation value.
[Tizen][Runtime] Update application information in DBus service when
updating.

When updating application, the information cached in DBus service should
be synced as well.

BUG=XWALK-1231
Revert "[Runtime Model] Packaging the XPK package generator in Linux & Windows"

We've never officially shipped any Windows or Linux archives, so this
target is not really serving any purpose.

This reverts commit 0b649e3b21882fe3b61afa8a4f46e6f54f51f144.
Stop checking for `tizen_mobile' in gyp wherever possible.

tizen_mobile has not been defined ever since we dropped support for
Tizen 2.x in 58841e7393074ea40e9a86bb55e8025256cf5af5, so the check has
been dead for a while.

Helps fix XWALK-1625.
Remove content_resource.pak from pak list.

The content_resources.pak only contains html/js/css files for chrome webui.
As the webui is not needed for xwalk, so just ignore it.
This can reduce size of xwalk.pak for about 150k

BUG=
[Android] Specify valid characters and verify app name.

This patch is to specify valid characters and verify the app name
in customize.py
Specify the valid characters, if the app name or package name is invalid,
provide the error information and advice.
Add test cases for invalid chars.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1298
Revert "[Android] Implement mixed resources to fix resource not found"

This reverts commit fbe4a5796cfa27a214a2ef2dc3e7cde3719d9c43.
[Runtime] Enable cookie for app and devtool schemes

Enable the content SQLite based cookie storage.
All installed applications will share the same database file, but the
access will be restricted by their application ID.

BUG=XWALK-1587
[Android] Use XWalkBaseActivity for each demo in Crosswalk Sample

1. XWalkBaseActivity will control the XWalkView lifecycle, such as onHide, onShow and onDestroy.
   All other demos need to override from this base activity.
2. Add CrosswalkSample to xwalk_builder. (it's not the final solution, will track it with XWALK-1593)

TODO: Removed alert in manifest demo, it will cause crash when onDestroy() is called.
      XWALK-1639

BUG=XWALK-1631
Merge pull request #1868 from sqliu/handle-mime

[Android] Use intent actions to handle navigation according to MIME type...
Merge pull request #1875 from wuhengzhi/addJavascriptInterface

[Android] Add the test case for addJavascriptInterface.
Merge pull request #1826 from wuhengzhi/character_handling

[Android] Replace invalid characters and verify app name.
[Tizen] Introduce ApplicationTizen class

Introduce ApplicationTizen class to encapsulate Tizen-specific
Application logic and make Application code more clean.
[Android] Fix resource loading issue of shared mode

Previously, xwalk_runtime_client_shell incorrectly packages
all xwalk resources within it, which hide the resource
loading issue of shared mode.

In commit fbe4a5796, attempting to fix this by creating
MixedResources and override "getResources()" of Context.
But in chromium, there exist bunch of code that get resources
from application context.

In this fix, xwalk will provide an overridden Application
which return XWalkMixedResources for getResources().

In such case, all resource loading within XWalkRuntimeLib will
try first loading from library's Context and then from app's
if not found.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1609
[Tizen][Runtime] Fix should not load external link resources in web
browser.

In some cases, when opening an allowed navigation link, some cross
origin resources may be blocked and opened in web browser. This patch
will solve this.
Merge pull request #1896 from seanlong/cookie_fix

[Runtime] Enable cookie for app and devtool schemes
Merge pull request #1906 from pozdnyakov/ApplicationTizen

[Tizen] Introduce ApplicationTizen class