[Tizen][Runtime] Fix bug: crash on installation of a wgt without application
element in config.xml

According to
https://source.tizen.org/sites/default/files/page/tizen-2.2-wrt-core-spec.pdf
<tizen:application / > MUST occurrence one time.

If application element is not found in manifest, the parser should
 stop and the installation will fail.
[Android][Manifest] Remove the unused member of the manifest for packaging tool
[Android] Add a real Activity to simulate Pause/Resume for test

Previously, the case is calling onPause()/onResume of
XWalkRuntimeClient to trigger XWalkView's pause/resume.
After 75b09f33, XWalkView handles the activity status
change within itself. So XWalkRuntimeClient's onPause/onResume
is now empty method.

To test this case, a real Activity "ActivityToCausePause" is
created to trigger the pause/resume event of test target
Activity.
Bump version to 8.36.172.0
[Android][Extension] Use native Promise in Javascript

Some old extensions are still using requireNative('sysapps_promise').
This commit is to replace them with the Javacript build-in Promise.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1678
Merge pull request #2196 from deqing/promise

[Android][Extension] Use native Promise in Javascript
[Android] Fix potential memory leak in XWalkViewInternal

Use WeakReference to register ActivityStateListener.
Otherwise, the ActivityStateListener will hold
a reference of XWalkViewInternal as in static observer
list.
Merge pull request #2192 from jinbang/tool_remove_unused_manifest_field

[Android][Manifest] Remove the unused member of the manifest for packagi...
Bump version to 8.36.173.0
Merge pull request #2198 from wang16/fix_activity_listener_leak

[Android] Fix potential memory leak in XWalkViewInternal
[Android][Extension] Rename internal message callback funtion names.

For interface XWalkExtensionAndroid, we think 'onMessage' is a better
name than 'handleMessage', so rename it. So does for handleSyncMessage.

Note, XWalkExtensionAndroid is internal only, so won't affect any
existing android extensions, interal ones and external ones.
[Android][Extension] Add extension support for embedding API.

BUG=XWALK-1052
[Android] Expose SUPPORT_MULTIPLE_WINDOWS setting to XWalkPreferences.

Cordova-android use this to disable multiple windows.
[Android] Re-enable DeviceCapabilities instrumentation test

The root cause is instrument test loads test page as "Data URI scheme".
The body of "Data URI scheme" should be escaped when data type is
"text/html".

Related to XWALK-99
Bump version to 8.36.174.0
Merge pull request #2203 from shawngao5/XWALK-99

[Android] Re-enable DeviceCapabilities instrumentation test
Merge pull request #2190 from CooderIan/fix_tizen_application_handler

[Tizen][Runtime] Fix bug: crash on installation of a wgt without application element in config.xml
Merge pull request #2201 from gaochun/fix

[Android] Expose SUPPORT_MULTIPLE_WINDOWS setting to XWalkPreferences.
Merge pull request #2191 from halton/embedding_extension

Extension support for embedding API
[Android] Increase Embedding API version to 2.1

2.0 => 2.1 contains the following API changes:

XWalkResourceClient:
 + public boolean shouldOverrideUrlLoading(XWalkView view, String url);

XWalkUIClient:
 + public void onReceivedTitle(XWalkView view, String title);
 + public boolean shouldOverrideKeyEvent(XWalkView view, KeyEvent event);
 + public void onUnhandledKeyEvent(XWalkView view, KeyEvent event);
 + public void onPageLoadStarted(XWalkView view, String url);
 + enum LoadStatus;
 + public void onPageLoadStopped(XWalkView view, String url, LoadStatus status);

+ XWalkExtension:
 + public XWalkExtension(String extensionName, String sourceContent);
 + public XWalkExtension(String extensionName, String sourceContent, String[] entryPoints);
 + public final void postMessage(int instanceID, String message);
 + public final void broadcastMessage(String message);
 + public abstract void onMessage(int instanceID, String message);
 + public abstract String onSyncMessage(int instanceID, String message);

BUG=https://crosswalk-project.org/jira/browse/XWALK-2068