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?
[Extensions] Use ContainsKey() from base/stl_util.h

Containskey() is exactly what this code needed. We keep using
find() (and the comparison to end()) when we will later make use of the
iterator.
[Android] Add the test case about enableRemoteDebugging.

This patch contains the test case about enableRemoteDebugging on
embedded and shared mode. It's for the runtime client.
Enable the enableRemoteDebugging by the broadcast. From the
output of 'cat /proc/net/unix' command, find the abstract socket
name opened for remote debugging.

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

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 testEnableRemoteDebugging
[WiDi API] Implement navigator.presentation.requestShow API on Android

This patch is to implement navigator.presentation.requestShow for
showing a new HTML page on the secondary display.

IMPLEMENTATION NOTES:
o Web messaging can be used for communication between the opener window
  and presentation window.
o Only one presentation is allowed to be created. If there is already a
  presentation showing, an attempt to call requestShow will fail.
o A presentation will be dismissed in case of:
  1. window.close is called to close the presentation DOM window, or
  2. The presentation display is disconnected, and there is no available
     display for presentation show any more.
o The DOM window object for presentation is retrieved from the routing id
  of RenderView. It follows the way chrome.app.window.create does.

TODOS:
o Add `destroy` into XWalkView to destroy an XWalkView instance.
o Add `Promise` support for requestShow API instead of using callback.
o Make it backward-compatible on Android

SPEC=http://otcshare.github.io/presentation-spec/index.html
BUG=https://github.com/crosswalk-project/crosswalk/issues/577
[Runtime] Add Manifest keys handler mechanism

The key handler can parse specific member in manifest.json for more
information, and save these information into the Application object, by
this, it will be easier to use without parsing these information every
time. The mechanism also can treat dependence relationship between
Manifest keys, it make sure that a high priority key will be always
parsed before a low one, means that when parsing the low priority key,
all required information has been prepared yet.

The key handler also can validate if the key value is allowed for this
application.
Revert "[Tizen] Enforce device scale factor value to '2.0' on Tizen"

This reverts commit c79b41fde47fe0a6da116c9d4f0c2e9ad5410e15.

As Aura scales all the contents including UI elements, this change affected status bar appearance. The status bar should handle HIDPI properly before we can enable it again on Tizen.
Merge pull request #1064 from cmarcelo/contains-key

[Extensions] Use ContainsKey() from base/stl_util.h
Bump Crosswalk to version 3.
Merge pull request #1066 from pozdnyakov/Revert_Scale_Factor

[Tizen] Revert "[Tizen] Enforce device scale factor value to '2.0' on Tizen"
Merge pull request #1068 from jeez/xwalk-3

Bump Crosswalk to version 3.
[UI] Clean NativeAppWindowViews

Remove unnecessary forward declarations, includes and ifdefs. Now that
Windows is using Aura, all the platforms using Views system (Win, Linux
and Tizen) are using Aura, so no more ifdef guards for USE_AURA.
Merge pull request #1069 from cmarcelo/clean-native-app-window-views

[UI] Clean NativeAppWindowViews
Bump version to 3.31.31.0
[Runtime Model] Implement non-persistent main document.

The following CL is to implement
https://crosswalk-project.org/jira/browse/XWALK-2.

The CL makes ApplicationProcessManager as an Observer for Runtime
objects. Therefore, whenever a Runtime object/Window is added or
removed, the ApplicationProcessManager could be notified.
Merge pull request #1007 from wuhengzhi/remotedebug

[Android] Add the test case about enableRemoteDebugging.
Merge pull request #1043 from hmin/widi-android-part2

[WiDi API] Implement navigator.presentation.requestShow API on Android
[Runtime] Add application test API and adjust API browser test

An internal extension for application API test is created to explicitly return
the API test result. For example, with this API we don't to need wait and test
the page title or Runtime count anymore, a call to xwalk.app.test.notifyPass()
or xwalk.app.test.notifyFail() will return the test result to runtime process.

The application API browser test will register this extension in setup phase.
And block wait for the test complete.
[Runtime] Add application test API browser test
[Android][Extensions] Modify error message to comply with W3C spec
Merge pull request #1075 from fyraimar/fix_error_msg

[Android][Extensions] Modify error message to comply with W3C spec