Merge pull request #816 from tmpsantos/function_handler_utests

[Extensions] Add XWalkExtensionFunctionHandler unit tests
Bump version to 2.31.14.0

This is based on Chromium 31.0.1650.12.
Build fixes based on patches by Caio Marcelo.
Merge pull request #819 from jeez/xwalk-2

Bump version to 2.31.14.0
Fix the Mac build.

A file moved upstream and various fatal clang warnings.
Merge pull request #820 from darktears/mac-fixes

Fix the Mac build.
Updating Chromium-crosswalk ToT hash in DEPS.xwalk
[Tizen] Runtime side change to install/uninstall package information on Tizen.
[Tizen] Implement install/uninstall package information on Tizen.

We aleady have the Python implementation to install/uninstall package
information on Tizen.
https://github.com/crosswalk-project/crosswalk/pull/493;
https://github.com/crosswalk-project/crosswalk/pull/665.

This CL is the C++ implementation to replace above pull requests.
For installation,
1. Generate Tizen pkginfo compatible XML file from Crosswalk manifest.json.
2. Copy or link resources for home screen launch. Resources are located at,
   icon: /opt/share/icons/default/small/|package_id|.png
   execute path:/opt/usr/apps/applications/|package_id_|/bin/|package_id_|
3. Install package information into Tizen database.

For uninstallation,
1. Uninstall pkginfo from Tizen database.
2. Remove application icons, execute path and XML file from Tizen system.

Instead of using 'pkginfo' command to install/uninstall package
information on Tizen database, this CL directly calls Tizen C APIs from
pkgmgr-parser.h. The GYP configuration to include Tizen libraries is
borrowed from
https://github.com/crosswalk-project/crosswalk/pull/570 (build/system.gyp)
Merge pull request #755 from shaochangbin/cb-pkginfo

[Tizen] Implement install/uninstall package information.
Fix main document browser test timeout issue

Chromium M31 changed WindowedNotificationObserver::Wait implementation, now
callback will not be called when condition is not meet. So we don't need add 1
for Runtime couting anymore.
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.
[Tizen]  Correct namespace for file operation functions inside
package_installer.cc

After upgrade Chromium version to 31.0.1650.12, some file operation functions are
moved from namespace 'file_util' to 'base', including PathExists(),
CopyFile(), DeleteFile() .etc.

This CL is to correct namespace for these functions inside
package_installer.cc.
[Android] Disable disambiguation popup for multiple targets.

XWalk does not use the disambiguation popup when tapping on multiple targets, so
set the renderer prefs to disable it, which is the legacy way of content API.

BUG=https://github.com/crosswalk-project/crosswalk/issues/833