[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] 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
Add WebUI support for Crosswalk Tizen.

The WebUI does not work due to some WebUI resources are not packed into
the pak file.
This fix is for Tizen, Android port does not require WebUI.

BUG=
[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.
 [TIZEN] WebApp are installed with wrong application Type

Currently Webapp are installed as Native App.
So Application Framework interpret them as native app

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Merge pull request #2158 from wang16/preference_for_cordova

[Android] Add preference keys for cordova usage
[Android] Open web pages in default browser instead of in-app browsing.

Pages linked with <a target="_blank"> or windowd.open() will be opened
in system default browser.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1037
Merge pull request #2171 from rakuco/separate-checks-for-app-parameters-make_apk

[Android] Simplify check for --app-{local-path,root,url} in make_apk.
Merge pull request #2170 from pozdnyakov/no_xwalk_in_bin

[Tizen] Do not install 'xwalk' binary to 'bin' directory
Bump version to 8.36.167.0
Merge pull request #2067 from wuhengzhi/onReceivedLoadError_test

[Android] Add test case for onReceivedErrorTest().
Revert "[Android] Add test case for onReceivedErrorTest()."

This reverts commit 413b79bfaebd66597ad54a330fa41b103e62cdf2.
Merge pull request #2177 from wang16/revert_test

Revert "[Android] Add test case for onReceivedErrorTest()."
[Extension] Implemented bulk data transmission enhancement feature.

Inspired by Thiago Marcos P. Santos <tmpsantos@gmail.com>

Enhanced the feature of postMessage from extension to renderer process
by introduced shared memory when transmitting big bulk of data, also
used a threshold kInlineMessageMaxSize to control if we need to use
shared memory or IPC message.

If the message to post exceeds the threshold, we will create a shared
memory to wrap the message and post the shared memory handle instead;
in the receiver process we'll restore the message from the received
shared memory and process it as before.

BUG: https://crosswalk-project.org/jira/browse/XWALK-1377
Merge pull request #1881 from jondong/master

[Extension] Implemented bulk data transmission enhancement feature.
Bump version to 8.36.168.0
Merge pull request #2168 from gaochun/1037

[Android] Open web pages in default browser instead of in-app browsing.
[Android] Fix crash caused by calling pauseTimer twice in row

The timer is actually global in current implementation.
Use a static boolean to record the status to avoid duplicated
calling pauseTimer().

BUG=https://crosswalk-project.org/jira/browse/XWALK-2078
Merge pull request #2178 from wang16/timer

[Android] Fix crash caused by calling pauseTimer twice in row