[Android] Support permissions for Java external extensions

Following changes are made:
1. merged external extensions permissions to Android manifest file
2. added a unit test about this feature
3. fixed empty extension_name issue caused by redundant separators

BUG=https://crosswalk-project.org/jira/browse/XWALK-160
[Android] Add the test case about getVersion.

This patch contains the test about getVersion in shared and
embedded mode. It's for the runtime client.
Get the version, confirm it's validity by regular expression.
Remove dependency between XWalkManifestReader and XWalkView.

XWalkManifestReader is in org.xwalk.runtime package, it's on higher
layer than XWalk core, and XWalkManifestReader should not be awared
by XWalk core. So remove the XWalkManifestReader reference from the
XWalkView class.

BUG=https://crosswalk-project.org/jira/browse/XWALK-149
[Android] Only allow to intercept navigation for main frame and subframe

The interception for resource request should be restricted to main frame
and sub frames, so that the page loading state change events, e.g.
onPageStarted and onPageFinished, are triggered only for main frame and sub
frame instead of each kind of resources.

BUG=https://crosswalk-project.org/jira/browse/XWALK-306
[Extension] Catch when RenderProcess dies.

This patch enables us to be warned when a RenderProcess dies through
Runtime::RenderProcessGone(), which is our WebContentObserver interface.

With that in place, we can then warn XWalkExtensionService so it can gracefully
shutdown the associated ExtensionProcess and in_process ExtensionServer. There
is no need to handle MessageFilters at this point anymore since they are owned
by the IPC channel. This, in turn, is deleted when the RenderProcess dies.
[Extension] Shutdown RenderProcess when ExtensionProcess dies.

To fullfil the shutdown cycle, this patch will try to shutdown
the RenderProcess when the ExtensionProcess dies.
Bump version to 3.32.42.0
[Android] Remove assertion for is_valid() check in XWalkExtensionAndroid
Application will be crashed at start time when secondary display opened in debug version.
Root cause:
At start time, PresentationExtension will be created and send broadcastMessage,
but the presentation XWalkExtensionInstance has not been created at this time.
There will be an assertion before sending messages which will check whether any instance created.
Solution:
Remove the assertion, only check is_valid(), if it's not valid, just return.
I think it's acceptable for extensions to send message even no instance created,
we can just ignore the message.

BUG=https://crosswalk-project.org/jira/browse/XWALK-398
Merge pull request #1092 from DonnaWuDongxia/permission

[Android] Support permissions for Java external extensions
Merge pull request #1155 from kurli/extension-no-check-instances

[Android] Remove assertion for is_valid() check in XWalkExtensionAndroid
Merge pull request #1046 from wuhengzhi/getVersion

[Android] Add the test case about getVersion.
Merge pull request #1095 from gaochun/read_manifest

[Android] Remove dependency between XWalkManifestReader and XWalkView.
Merge pull request #1158 from hmin/navigation-interception

[Android] Only allow to intercept navigation for main frame and subframe
[Tizen] Add MediaPlayer Implementation

This class is substitute for WebMediaPlayerImpl to be used in Tizen.
[Tizen] Add the RendererMediaPlayerManager

This class manages all the MediaPlayerImpl objects in the same
RenderView and also the IPC communication between MediaPlayerImpl
and BrowserMediaPlayerManager in the browser process.
[Tizen] IPC messages for Tizen media player

IPC Messages for notifying the media playback status between
renderer and browser processes.
[Tizen] Add BrowserMediaPlayerManager

This class manages all AudioSessionManager objects in the browser
process. It receives control operations from the render process, and
forwards them to corresponding AudioSessionManager object. Callbacks
from AudioSessionManager objects are converted to IPCs and then sent
to the render process.
[Tizen] Add Tizen Audio Session Manager integration

This class is for registering Audio Session Manager and
communicate media player callbacks with it.
[Tizen] Add audio-session-mgr to the list of crosswalk dependencies.
[Tizen] Chromium side changes needed for Tizen Audio Session Manager integration

This patch includes Chromium side changes needed for integrating
WebMediaPlayer with the Tizen audio session manager.