[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.
[Android] Add orientation support in the packaging tool.

Support the developer to set the display of app on device through
the option of packing tool. Such as: --orientation=landscape.
The default value is "unspecified".
The value options are the same as those on the Android:
http://developer.android.com/guide/topics/manifest/activity-element.html#screen
[Android] Make xwalk_core_library compilable on Windows

On windows, python is python.bat or python.exe.
Directly exec python will fail.
To detect which extension is used. Add condition
and "where" exec in precompile.xml to determine
the final extension string for python.

BUG=https://crosswalk-project.org/jira/browse/XWALK-335
Merge pull request #1120 from junmin-zhu/orientation

[Android] Add orientation support in the packaging tool.
[Android] Enable Web Audio on x86 -- part 1

Openmax_dl has contained the x86 implementation which is needed to
enable the Web Audio feature on IA. We want to enable it right now
so we update the deps with changing openmax_dl to the version
contains the x86 fft support directly.

*Attention when rebasing!*
The patch should be removed as long as the chromium has updated the
dependence of openmax_dl to r5113 or higher versions.
[Tizen][Runtime Model] Using the xwalk logo image when icons are not given in manifest.json

The application button with default xwalk logo image will be placed on
home screen in Tizen if the icons field is not given in manifest.json.

BUG=https://crosswalk-project.org/jira/browse/XWALK-124
Merge pull request #1111 from xingnan/webaudio

[Android] Enable Web Audio on x86
[Packaging] Correct typo in the README.
Bump version to 3.31.36.0
Bump version to 3.31.37.0
Merge pull request #1137 from rakuco/readme-typo

[Packaging] Correct typo in the README.
Bump version to 3.31.38.0
Merge pull request #1119 from wang16/core_pre_compile

[Android] Make xwalk_core_library compilable on Windows
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
Bump version to 3.31.39.0
Bump version to 3.32.39.0

This is all-in-one patch based on Chromium 32.0.1700.14, check each
commit at https://github.com/halton/crosswalk/commits/master_1700_14
Merge pull request #1141 from halton/all_in_one_32_0_1700_14

Bump version to 3.32.39.0
[Extension] Adding a Crash Extension and a crash "demo"
[Extension] Gracefully handle an ExtensionProcess crash.

This patch enables us to gracefully handle a crash from
ExtensionProcess. We use XWalkExtensionProcessHost::OnChannelError
since we can't really rely on XWalkExtensionProcessHost::OnProcessCrashed.
See a more complete explanation about this on the end of this commit message.

It is safe to rely on XWalkExtensionProcessHost::OnChannelError
since this function is called just before
BrowserChildProcessHostImpl::OnChildDisconnected gets called.
OnChildDisconnected() would, in turn, be the function that would
call our OnProcessCrashed(). For more information, please refer to
ChildProcessHostImpl::OnChannelError() from child_process_host_impl.cc.

This patch also adds the interface XWalkExtensionProcessHost::Delegate,
which now is implemented by XWalkExtensionService.
XWalkExtensionProcessHost::OnChannelError() calls then
Delegate::OnExtensionProcessDied().

For documentation reasons, I will elaborate on what happens when not
using zygote, which is the case of EP.
GetTerminationStatusImpl() from base/process/kill_posix.cc ends up
calling waitpid() with WNOHANG. If the extension process isn't ready
to reply its termination status by then, we won't block while waiting
for it and that function will return TERMINATION_STATUS_STILL_RUNNING
to BrowserChildProcessHostImpl::OnChildDisconnected(). When that happens,
OnProcessCrashed() ends up never being called. That is not the case
for OnChannelError(), thus we use that as our hook.
Using zygote would put the necessary infra-structure in place,
but it would also bring more than what we currently need.