[Android] Add test case for onReceivedErrorTest().

This patch is to add test case for onReceivedErrorTest().
Open some urls with error format, the resource client will receive
the related error. Verify the error information with the expected
result.
[Android] Embedding API v2

This commit added following APIs as Embedding API:
XWalkResourceClient.shouldOverrideURLLoading
XWalkUIClient.onUnhandledKeyEvent
XWalkUIClient.shouldOverrideKeyEvent
XWalkUIClient.onReceivedTitle
XWalkUIClient.onPageLoadStarted
XWalkUIClient.onPageLoadStopped

Some of those APIs were implemented inside xwalk core
internal previously. Now moving them to public Client
classes of XWalkView to expose in Embedding API.

Beside, remove the internal callbacks which are decided
not to expose in Embedding API and currently are dead code
or have empty implementation in core internal, including:
XWalkWebChromeClient.onReceivedTouchIconUrl
XWalkWebChromeClient.getDefaultVideoPoster
XWalkWebChromeClient.getVideoLoadingProgressView

TODO(wang16): Implement LoadStatus for XWalkUIClient.onPageLoadStopped.

Related BUGs: XWALK-2031
BUG=XWALK-2003, XWALK-2004
[Android] Add preference keys for cordova usage

The new preference keys are for
1. enabling javascript;
2. allow javascript to open window automatically;
3. allow universal access from file origin.

Related to Bug: XWALK-1857
[Tizen/Desktop] Put application update back in place

Put application update back in place. It had been accidentally
lost during app un/installation refactoring work.
[Android][Manifest] Support the 'icons' member

Packaging tool support 'icons' member according to the W3C specification:
http://w3c.github.io/manifest/#icons-member

BUG=https://crosswalk-project.org/jira/browse/XWALK-2023
Merge pull request #2164 from jinbang/tool_support_manifest_icons

[Android][Manifest] Support the 'icons' member
Merge pull request #2159 from pozdnyakov/application_update

[Tizen/Desktop] Put application update back in place
[Tizen][Runtime] Use tizen application id on tizen for wgt

To consistent with old wrt on tizen, we need to insert
[tizen_application_id] to tizen pkgmgr db when we install an
wgt packaged app, and we also need to launch an app by
[tizen_application_id].

For xpk, we still insert [xwalk.crosswalk_32bytes_app_id] to
pkgmgr db, and launch by it too.

BUG=XWALK-1925
[Tizen] This commit implements the splash screen for Tizen.
It read a splash screen image (static) from the wgt config file and show it on the center of the main window when the application is launched.
And after the content is loaded, hide the splash screen image in amincation way.

The wgt config has a setting node to define the basic configuration of the splash screen. And currently it contains the path of the image as below:
<splash-screen src="splash.png"/>

BUG=XWALK-1150
Merge pull request #2155 from CooderIan/use_tizen_app_id

[Tizen][Runtime] Use tizen application id on tizen for wgt
Merge pull request #2148 from yejingfu/splash

[Tizen] This commit implements the splash screen for Tizen.
Merge pull request #2142 from wang16/embedding_api_v2

Embedding api v2
[Android] Implement onPageLoadStopped with LoadStatus parameter

Previously, the LoadStatus of onPageLoadStopped is always FINISHED.
Implement it by record the load status when stopLoading() and
onErrorReceived() get called.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2031
Merge pull request #2167 from wang16/load_status

[Android] Implement onPageLoadStopped with LoadStatus parameter
[Tizen] Do not install 'xwalk' binary to 'bin' directory

SSIA. XWalk on Tizen can be launched as dbus service only.
[Android] Simplify check for --app-{local-path,root,url} in make_apk.

The existing check for those parameters is very convoluted and hard to
follow.

Split it into several smaller checks with different error messages for
each of them.
[Android] Add the core internal shell and the test project.

This patch is to add the core internal shell and test code for internal
shell.
All of the codes are modified from the core shell and core test project.
Bump version to 8.36.166.0
Merge pull request #2127 from wuhengzhi/internal_api

[Android] Add the core internal shell and the test project.
Merge pull request #2158 from wang16/preference_for_cordova

[Android] Add preference keys for cordova usage