Merge pull request #826 from seanlong/master

Fix main document browser test timeout issue
[Android] Fix build errors that are introduced by rebasing to version 31.

Some changes that have been made in upstream version 31 break XWalk for Android.
Fix the break in XWalk, including:
* Replacing AndroidBrowserProcess to BrowserStartupController.
* Changes in DevToolsServer/JavaScriptDialogManager.
* Some namespace changes.
* Removing override method ContentVideoViewClient.keepScreenOn as interface has changed.
* Removing kEnableExperimentalWebGL switch since this switch is no longer used from
  version 31 for Android port.

BUG=
TEST=Build
Attempt to build fix Windows.

Windows seems to require resolving the namespacing from the base ::.
I'm following the pattern found in another Chromium's win test file.
Merge pull request #829 from darktears/win-fix

Attempt to build fix Windows.
Updating Chromium-crosswalk ToT hash in DEPS.xwalk
Merge pull request #824 from sqliu/rebase-for-31

[Android] Fix build errors that are introduced by rebasing to version 31
Fix build for Windows.

Include the header so that MSVC can find the symbol.
Merge pull request #832 from darktears/win-fix

Fix build for Windows.
Copy Chromium extension message implementation

We need pass application info from browser process to renderer, so we will
borrow ExtensionMsg_Loaded message implementation from Chromium.
application/common/application_messages.* are copied from
chrome/common/extensions/extension_messages.*
Add ApplicationDispatcher implementation

ApplicationDispatcher will handle application control messages sent to
the renderer and stores renderer application related state.

ApplicationProcessManager will observe renderer process creation notification
and send serialed launched application info to renderer. The
ApplicationDispatcher in renderer side will handle this message. The
ApplicationDispatcher will be created as a singleton for application
extension native module access.
Add application extension and getManifest(), getMainDocument() API support

The application extension is an internal extension to handle application level
APIs(e.g., runtime model events, get 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).

getManifest() is synchronous, so a "getManifest" native handler is implemented
in render side to transfer launched app info from ApplicationRendererController.
getMainDocument() is asynchronous, so the JS wrapper code will first get the
main document routing ID from browser process, then get the window object of
the main frame from the "getMainDocumentByID" native handler.
Add application API browser test for getManifest and getMainDocument