Update application_service.cc

I suppose this place should be 'false' because actually the Installation is 'failed' due to 'it's already installed', isn't it?
[Android] Implement the method of OnReceiveHttpAuthRequest() in runtime core
          and update the http authentication database interfaces.

1. Some web page has the requirement of http authentication, support
   this requirement by providing the method of OnReceiveHttpAuthRequest().
2. Update the http authentication database interfaces by removing the previous
   method of getInstance() and directly calling the constructor function
   of the class HttpAuthDatabase.

BUG=#788
[Tizen] Enable pinch.

After rebasing 31.0.1650.12, use_xi2_mt is set to 2 by default. However, we use
XInput2.1 on Tizen 2.1, so we can not use use_xi2_mt that is for XInput2.2.

enable_xi21_mt that is introduced by Hongbo Min is exclusive to use_xi2_mt.

BUG=https://crosswalk-project.org/jira/browse/XWALK-58
[Android] Make prepare_r_java.py an executable

IDEs like eclipse are unable to run the program as an external builder
if they are not marked executable.

Also, use copy2 instead of copyfile to preserve 'x' bit in file mode.
[Android] Add eclipse build support for xwalk_core_library

Eclipse is a popular IDE for android development. So it's useful
to have this supported out of the box.

This change adds the .project, .classpath files required by Eclipse
for importing.
Add a patcher script to apply patches

1. Patcher is a helper to apply patches to certain repos.
2. It runs in hooks of DEPS after fetching deps successfully.
3. patch.cfg is used to config the patch path and target repo path.
4. These python scripts origin from CEF project.
Merge pull request #1051 from xingnan/patcher

Add a patcher script to apply patches
[Android] Destroy the native resource of XWalkView

Each XWalkContnet object owned by XWalkView has its own native counterpart, we
need to cleanup the native resource when an XWalkContent object is requested to
be destroyed, e.g. an activity is destroyed.

This fix is to add 'destroy' method to XWalkContent for this purpose.

BUG=https://github.com/crosswalk-project/crosswalk/issues/998
[Android] Add loadAssetFileAndWaitForTitle and apply in XWalkCoreTest cases

Instrumentation tests may fail because the titles may be verified
before they are changed. This commit introduced a new interface named
"loadAssetFileAndWaitForTitle" to wait until the title be changed.

BUG=#984 (Partially)
[Android] Handle clearCache message in renderer

This fix is to handle XWalkViewMsg_ClearCache IPC message to clear
cache.

BUG=https://github.com/crosswalk-project/crosswalk/issues/996
[Android] Refactor the python script to prepare xwalk core library

Use list of files/directories to avoid duplicated code for copying.
[Android] Refactor the code for instrumentation tests.

Currently so many source codes are duplicated and hard to maintain.
Need to refactor them and share common code. This fix is to share
all common code in utils so that instrumentation tests for embedded
and shared modes can share as many code as possible.
This is the second step. The next one is to share the code for core
tests.

BUG=https://crosswalk-project.org/jira/browse/XWALK-95
[Android] Use loadAppFromManifest if a manifest.json is used for a web app.

Add loadAppFromManifest support for web app. If web app is packaged with
manifest, directly use loadAppFromManifest API to load app.
Because native manifest parser only supports original proposal
"app:launch:local_path", manifest related test cases are modified.
When the specfication for manifest is stable, will revisit these test
cases and native manifest parser.

BUG=https://crosswalk-project.org/jira/browse/XWALK-100?filter=10007
Merge pull request #1044 from junmin-zhu/manifest

[Android] Use loadAppFromManifest if a manifest.json is used for a web app
Merge pull request #1037 from DonnaWuDongxia/waitForTitle

[Android] Add loadAssetFileAndWaitForTitle and apply in XWalkCoreTest cases
Merge pull request #1050 from hmin/destroy-xwalkview

[Android] Destroy the native resource of XWalkContent
Merge pull request #1054 from yongsheng/refactorcodetest

[Android] Refactor the code for instrumentation tests.
Merge pull request #966 from zliang7/dev

[Tizen] Device motion/orientation API
[Tizen][Extensions] Implemented W3C SysApps Device Capabilities API

The implementation is based on 17 October 2013 editor draft version.
CPU, Memory, Storage and Display are included, the Audio and Video Codecs
are not implemented yet.

SPEC=http://www.w3.org/2012/sysapps/device-capabilities/
BUG=https://crosswalk-project.org/jira/browse/XWALK-47
[Tizen] Enforce device scale factor value to '2.0' on Tizen

Enforce device scale factor value to '2.0' on Tizen so that viewport meta tag works properly on Tizen devices.
This is a workaround until Aura Linux HIDPI support is in place: https://codereview.chromium.org/27156003/.