[Android] Add the test case about onPause and onResume.

This patch contains the test case about onPause and onResume on
embedded and shared mode. It's for the runtime client.
Invoke onPause or onResume on main thread, wait for some seconds
to ensure that we get the title. Then wait for two hundred
milliseconds, get the title again. Compare the two titles.

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

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 testPauseResume
Merge pull request #1021 from ShDavidliu/runtime_core

[Android] Implement the method of OnReceiveHttpAuthRequest().
[Tizen][Runtime Model] Fix installer crash if icon is missing from manifest.

Installation crashes if the icon field is missing from manifest.json.
However, this behavior is not correct.

The installation should not crash even though no icon is provideded.

BUG=https://crosswalk-project.org/jira/browse/XWALK-110
Merge pull request #1033 from junmin-zhu/thread

[Android] Add thread safety checking for XWalkView.
Merge pull request #1055 from wang16/refactor_prepare_core_py

[Android] Refactor the python script to prepare xwalk core library
Merge pull request #992 from gramakri-intel/master

[Android] Eclipse build support for xwalk_core_library
Merge pull request #1062 from shaochangbin/issues

[Tizen][Runtime Model] Fix installer crash if icon is missing from manifest.
[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.
Bump version to 2.31.30.0
Merge pull request #962 from wuhengzhi/pauseResume

[Android] Add the test case about onPause and onResume.
[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.
[SysApps] Add the convenience classes and prototypes

These C++ classes and JavaScript prototypes are helpers for the common
places that appear all around the SysApps APIs specifications.

The main features are:

- Helpers for creating objects managed by the extension.
- Easy way of declaring API methods.
- EventTarget implementation, and thus, helpers for dealing with
  events.

For more information, check the documentation on the code.
[SysApps] Add unit tests for the convinience classes