[Android][Tizen] Generate error messages from network error code.

Generate detailed error message from network error code.
For Android, it will popup a dialog contains the error message.

TODO:
1) The error page is not supported currently.
   Check whether it's needed in runtime.
2) The translations in grd file are missed.

BUG=XWALK-1274
[Android] Catch missing xwalk library make_apk.py

When creating (x86/ARM) packages, emit a warning if the
corresponding architecture libxwalkcore.so is not found.
If no packages have been created due to missing
libxwalkcore.so, abort with an error message.
[Tizen IVI] Support landscape window orientation by default

Before the change 'NativeAppWindowTizen' hardcoded portrait
orientation to be the default one, however (unlike the mobile
devices) the default window orientation on IVI devices is
landscape. Thus the wrong window transformation was applied
causing bugs, e.g. XWALK-1313.

This patch adds support (not complete yet, but enough for most
of the applications) for the default landscape window orientation.

BUG=XWALK-1313
[Android] Enable auto detect connectivity state change

1. Enable auto detect connectivity state change.
2. Add permission of ACCESS_WIFI_STATE.

BUG=XWALK-1324
[Android] Support keeping-screen-on for web apps

Provide '--keep-screen-on' arguments in packaging tool
and apply keep-screen-on flag to the activity,
then the activity will request keep screen on for the whole life.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1411
Merge pull request #1822 from kurli/network-change-listener

[Android] Enable auto detect connectivity state change
Merge pull request #1825 from jinbang/keeping_screen_on

[Android] Support keeping-screen-on for web apps
[Tizen][Runtime] Add support for 'hwkey' in Tizen widget configuration.

Tizen WRT Core Spec shows that when hardware key(‘back’, ‘menu’) is
pressed, WRT MUST send the “tizenhwkey” custom event to the Web
Application if the <tizen::setting hwkey=”disable”/> element is not
specified. Therefore, app developer can add customized behavior for
this.

Spec:
https://source.tizen.org/sites/default/files/page/tizen-2.2-wrt-core-spec.pdf
(item 0470)

This implementation will fetch event from OzoneMessagePump, if it is a
key event, and at the same time the 'hwkey' flag is not disabled in
widget configuration, browser process will send the event to render process,
so that RP can handle the hardware key event.

BUG=XWALK-1166
Merge pull request #1819 from shaochangbin/hwkey-impl

[Tizen][Runtime] Add support for 'hwkey' in Tizen widget configuration.
[Application] Fix launcher idle callback return value and EP message loop type

1. init_extension_process_channel should return FALSE, otherwise it will be
called endlessly.
2. Thread running EP logic should have a TYPE_DEFAULT message loop type. As
on Linux system, the launcher's main thread already has a Glib message pump(TYPE_UI).
Merge pull request #1832 from seanlong/launcher_fix

[Application] Fix launcher idle callback return value and EP message loop type
Merge pull request #1813 from r0b5t4/wip

[Android] Catch missing libxwalkcore.so in make_apk.py

When Crosswalk is built as a shared component, libxwalcore gets a
.cr.so suffix, and make_apk silently bails, not finding it. This patch
checks for the existance of libxwalkcore.so, and prints an
understandable error when it is not there.
Bump version to 6.35.123.0
DEPS.xwalk: Roll chromium-crosswalk (15a25d19 -> d233df47).

d233df4 Merge pull request #147 from kurli/embedded-fail
5a10553 [Android] Ignore status from non tracked activities
4b5910d Merge pull request #144 from shaochangbin/observe-ozone-messagepump
fac3dd7 Add MessagePumpObserver for MessagePumpOzone.
[Android] Support xwalk_host member for manifest.json

The xwalk_host member allow application developer to add URL
match patterns as white list for allow Cross-Origin access.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1353
[Android] Add tests for Cross-Origin XHR.

For embedded client test:
1. install XWalkRuntimeClientEmbeddedShell.apk
2. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientEmbeddedTest -v -f \
testCrossOriginXhr

For shared client test:
1. install XWalkRuntimeLib.apk
2. install XWalkRuntimeClientShell.apk
3. python build/android/test_runner.py instrumentation \
--test-apk=XWalkRuntimeClientTest -v -f testCrossOriginXhr
Merge pull request #1829 from kurli/roll-deps

DEPS.xwalk: Roll chromium-crosswalk (15a25d19 -> d233df47).
[Android] Fix crash issue caused by activity lifecycle

When use UI related callbacks for Embedded API, need to check XWalkView owner activity status.
Otherwise it will cause crash.

BUG=XWALK-1461
[Android] Fix navigation forward issue

Missed break in switch case statements.

BUG=XWALK-1475
Merge pull request #1800 from gaochun/cross-origin

Cross origin