Bump version to 2.31.19.0
Add application extension and getManifest(), getMainDocument() API support

The application extension is an internal extension to handle application level
APIs(e.g., runtime events, manifest, package management, etc.).

In this commit two APIs is added, one is xwalk.application.getManifest(see
http://developer.chrome.com/apps/runtime.html#method-getManifest), the other is
xwalk.application.getMainDocument(see
http://developer.chrome.com/apps/runtime.html#method-getBackgroundPage).

We use asynchronous calls for both of these two APIs. getManifest() will
retrieve current running application's manifest dictionary value and post the
value to renderer. getMainDocument() utilizes ApplicationNativeModule to get
RenderView from the main document's routing ID, then return its main frame
global JS object.
[Runtime] Add GetApplicationByID in ApplicationService

Using GetApplicationByID replace with the GetApplicationStore, since it's very
dangrous to export the ApplicationStore outside ApplicationService.
[Runtime] Add switch "--list-apps" to list all installed applications from command line

Execute the xwalk with "--list-apps" switch will print all installed applications
information to standared IO stream.
Merge pull request #900 from takethathe/list

[Runtime] List all installed applications from command line
[Packaging] Remove version numbers from the RPM patches.

Those numbers were not serving for any purpose: they were initially intended
for a workflow that involved `gbs import` and `gbs export`, which would then
update the numbers and drop patches automatically.

Since we are not using those tools at all, just removing the numbers makes
more sense.
Merge pull request #919 from rakuco/remove-versions-from-patches

[Packaging] Remove version numbers from the RPM patches.
Bump version to 2.31.20.0
Add application browser test base class and application API browser test

ApplicationBrowserTest is a base class for application browser test. Currently
it only provides Runtime status check. It will support other application test
utilities after shared browser process model is supported.

In this commit getManifest() and getMainDocument() API tests are added.
Bump chromium-crosswalk in DEPS.xwalk.

Bring in the fix in chromium to fix the rendering issue
of content shell when using single process on Android.
Merge pull request #923 from wang16/roll_deps

Bump chromium-crosswalk in DEPS.xwalk.
Merge pull request #612 from seanlong/xiang_api

[Runtime] Add application extension skeleton and getManifest, getMainDocument API support
[Extensions] Refactoring XWalkExtensionService::RegisterExtension

Nowadays our XWalkExtensionService is only capable of handling
one RenderProcess. Thus, it only has one in_process XWalkExtensionServer
for handling internal extensions. Soon enough this will considerably
change and we will have to be capable of handling one in_process
XWalkExtensionServer per RenderProcess.

This patch is the first step towards this: internal extensions
will be created directly by the XWalkExtensionService::Delegate
"on-demand" every time a new in_process XWalkExtensionServer
is created for a new RenderProcess and it is time to register
the internal extensions on it.

The entity implementing XWalkExtensionService::Delegate is
XWalkBrowserMainParts. This way we keep the old behavior and design
not polluting XWalkExtensionService.

Necessary adjustments were made to RegisterExtensionsCallback and
browser_tests for the same reason.
[Extensions][Android] Make CreateExtension call XWalkExtensionService directly

XWalkBrowserMainParts is now a XWalkExtensionService::Delegate, meaning that
XWalkExtensionService will call RegisterInternalExtensionsInServer everytime
a new in_process XWalkExtensionServer is created (for a new RenderProcess).

Therefore, XWalkExtensionService::RegisterExtension() has been removed
and XWalkExtensionAndroid will now need to register its extensions on
XWalkBrowserMainParts so them can get correctly registered on-demand
by XWalkExtensionService.
[Extensions] Protect ExtensionService in XWalkBrowserMainParts

There is no need to expose XWalkExtensionService anymore.
This will also help us protecting the correct workflow
of registering extensions through XWalkExtensionService::Delegate.