[Runtime] Return a "NOT FOUND" message if the resource is invalid when using application scheme.

When using application scheme (app://), if loading a resource which does
not belong to an application, if should return the error message
directly, this patch will do this if the application can not found.

BUG=XWALK-1762
[Android] Decouple url loading and onReadyToRender callback

The url loading should not depend on the readiness of compositing
surface. Otherwise, it will cause 'deadlock' between loading url and
surface availability in some cases.

For example, to support splash screen in cordova, the XWalkView should
be initially invisible and waits for a signal from web page to become
visible. However, Android framework may not create the underlying Surface
for an invisibile View, which causes the url won't be loaded.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1884
[Tizen][Runtime] Add simple error page for net error.

After we have support allow-navigation on tizen, QA will test
for this. But if we do not have a net error page, QA might can
not identify whether some issues caused by crosswalk or other
net errors.
Runtime class should not contain/export RuntimeContext

SSIA. RuntimeContext is a global object owned by XWalkRunner.
Merge pull request #2055 from hmin/xwalk-1884

[Android] Decouple url loading and onReadyToRender callback
[Android] Add test case for size(), hasItemAt() and getItemAt().

This patch is to add test case for size(), hasItemAt() and getItemAt().
Load url and get history size, get item at specified index, compare them with the expected result.
Judge whether has item at specified index.
Fix ARM build for Tizen Common - disable NaCL for ARM arch

Change-Id: Ia617267fa2e7b96909271b20cb01a44a8e7035d6
Signed-off-by: Stephen Clymans <stephen.clymans@open.eurogiciel.org>
Merge pull request #2062 from pozdnyakov/Remove_Runtime_runtime_context

Runtime class should not contain/export RuntimeContext
[Android] Transition from route_id to render_frame_id and child_id to render_process_id.

This patch is to transform the route_id to render_frame_id and child_id
to render_process_id.
Set cache mode does not work without this patch.
The request was handled by the interfaces in "InterceptNavigationDelegate",
since the io client was got by the wrong id, so the interfaces in
"IoThreadClientThrottle" were not called.

BUG=XWALK-1908
[Android] Fail to create the webapp when the package option contain upper letter

According to Java naming conventions. Package should be lower case.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1681
Merge pull request #1982 from PeterWangIntel/PR1681

[Android] Fail to create the webapp when the package option contain upper letter
[Android] Stop doing manual argument separation in javac.py.

Stop doing nonsensical things like calling str.split() to manually split
option arguments since it obviously breaks arguments with spaces.

Instead, make "--src-dirs", "--javac-includes" and "--classpath"
accumulate its arguments, and just pass them multiple times in
make_apk.py.

BUG=XWALK-1905
[Tizen] Native File System API

BUG=XWALK-1875
[Android] Change error level message to warning level for loading extensions

BUG=XWALK-1714
Merge pull request #2076 from shawngao5/XWALK-1714

[Android] Change error level message to warning level for loading extensions
[Android] Deprecate xwalk_android_gyp

In M36, android_gyp is still available in upstream, but it is
going to be removed in recent future.
We need to deprecate xwalk_android_gyp together with upstream's
change, and we need to pass '-DOS=android' explicity to it to
generate android building environment.

This change based on the discussion in pull request:
https://github.com/crosswalk-project/crosswalk/pull/2015

BUG=https://crosswalk-project.org/jira/browse/XWALK-1803
Update DEPS.xwalk to include blink::ScreenOrientation enabling

Update DEPS.xwalk to include blink::ScreenOrientation enabling:
https://github.com/crosswalk-project/blink-crosswalk/pull/15
and
https://github.com/crosswalk-project/chromium-crosswalk/pull/168

BUG=XWALK-1820
Merge pull request #2080 from pozdnyakov/enable_screen_orintation

Update DEPS.xwalk to include blink::ScreenOrientation enabling
Revert "Fix build : Force ld.gold binary usage"

This has caused a regression in Tizen builds from scratch when NaCl
support is enabled (ie. 32-bit Tizen, like IVI and Mobile).

One stage of the NaCl build process involves calling the ld_bfd.py
script, that invokes `gcc -print-prog-name=ld' and later tries finding a
binary with ".bfd" appended to it because certain NaCl binaries must be
built with ld.bfd instead of gold.

binutils's packaging in Tizen is such that it creates symlinks in
/usr/i586-tizen-linux/bin to ar, as, ld, nm, ranlib, strip, but not
ld.bfd or ld.gold. The build-dependency on binutils-gold introduced in
the commit we are reverting makes /usr/bin/ld point to ld.gold instead
of ld.bfd. Finally, when `gcc -print-prog-name=ld' is called it finds
/usr/i586-tizen-linux/bin/ld but not /usr/i586-tizen-linux/bin/ld.bfd,
and since the former points to gold the script ends up linking the NaCl
binaries with gold instead of ld.bfd.

There are different ways to fix this, but for now we have to revert back
to a state where all Tizen profiles build, since this has blocked canary
builds for two days at least.

Related to XWALK-1904.

This reverts commit 55c37c02e29ba6ac21f1bb4031e7b9099ee11a38.
Merge pull request #2066 from shawngao5/native_file_system_tizen

[Tizen] Native File System API