[Windows] Fix runtime is using wrong content_app target

On Windows, upstream is trying to provide alternative to split
chrome.dll into several parts. Therefore, target content_app
is now content_app_browser, content_app_child, content_app_both.
It's not relevant with xwalk, xwalk should use content_app_both
to obtain all it need for content app.
[Extensions] Add support for persistent callback listener

This is going to be the base of the EventTarget implementation. It is
important to remove the listener at some point otherwise the object will
leak.
[Extensions] Add browsertests for the persistent callback listener

The test implements a heartbeat which works in a similar way of an EventTarget.
The callback is set only one and gets called multiple times.
[Extensions] Remove development debug statements

These debugging statements were useful during development, but now
as we are feeling confident that everything should be working, they
can be removed.
Merge pull request #1003 from wang16/fix_windows

[Windows] Fix runtime is using wrong content_app target
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] Add getDisplay() to XWalkDisplayManager

WiDi PR #965 add XWalkDisplayManager class referenced from
DisplayManager class introduced since Android 4.2 (API Level 17).

While getDisplay() is not included because WiDi does not use it.
This PR is adding that this api and implementation.
[Android] Add XWalkManifestReader.java to xwalk_core_library project.

The Java class XWalkManifestReader provides the content of app
manifest. Missing of XWalkManifestReader will lead to error of
core library project, so add it to xwalk_core_library.

This patch also fixes some coding style issues.
[Android][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
is not implemented yet.

SPEC=http://www.w3.org/2012/sysapps/device-capabilities/
BUG=https://crosswalk-project.org/jira/browse/XWALK-48
[Android] Destroy extension when activity is destroyed

This fix is to ensure that XWalkExtension object gets destroyed when the
Activity is destroyed (e.g. press back button).

Since each XWalkExtension object on Java side has a corresponding native
extension object, we need to make sure the native extension object is
also destroyed. Otherwise, the leaked native object will cause unpredictable
program behavior.

BUG=https://github.com/crosswalk-project/crosswalk/issues/1023
Merge pull request #1042 from gaochun/cordova_xwalk

[Android] Add XWalkManifestReader.java to xwalk_core_library project.
Merge pull request #961 from halton/device_capabilities

[Android][Extensions] Implemented W3C SysApps Device Capabilities API
Merge pull request #1030 from hmin/destroy-extension

[Android] Destroy extension when activity is destroyed
[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
[Android] Disable the unit test for DeviceCapabilities.

It's failed in both shared and embedded modes. Need to fix them.
Create one issue to track it:
https://crosswalk-project.org/jira/browse/XWALK-102
Merge pull request #1045 from yongsheng/master

[Android] Disable the unit test for DeviceCapabilities.
Merge pull request #1039 from vcgomes/remove-development-debugs

[Extensions] Remove development debug statements
Merge pull request #1038 from tmpsantos/persistent_callback

[Extensions] Support for persistent callback
[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.