Adapt user check to multi user architecture.

BUG:https://crosswalk-project.org/jira/browse/XWALK-1649

Change-Id: I2e38c4582e7b0bf1a024ffdad22d1bd14056bb11
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
[Android] Add test case for clearCache().

This patch is to add test case for clearCache().
Request the url from TestWebServer, record the hit count to
webserver and compare the count with the expected number.
Drop "Main document" support

Spec: http://www.w3.org/2012/sysapps/app-lifecycle/#a-single-entry-point-to-the-application
SSIA. This patch removes the related functionality and tests.
Application class required quite deep modification, now it is inheriting
'content::RenderProcessHostObserver' to watch RPH lifecycle.
Merge pull request #1912 from eurogiciel-oss/XWALK-1649

Adapt user check to multi user architecture.
Move to Chromium 35.0.1916.114.

No big changes were needed in our side since this is just a more recent
version in the same milestone.

Besides the usual changes to DEPS.xwalk, the following ones had to be
made:

[Tizen] Replace crosswalk-no-fatal-ld-warnings.patch with a gyp flag.

Since r262389 (r262093 in trunk) it is possible to disable fatal
warnings with a build system flag.

Do that instead of patching the code.

CL: https://codereview.chromium.org/228003008

---

[Tizen] packaging: Stop installing libmojo_system.so.

Since r262728 (r260629) in trunk the build system respects the value of
the |component| gyp variable and produces a static library if it is not
set to "shared_library", just all other libraries.

CL: https://codereview.chromium.org/231293002

Roll Chromium to 35.0.1916.114.

---

[Android] Fix the build after Chromium r267872.

This backported commit in Chromium changes the signature of
ContentVideoViewClient::onShowCustomView(), so update our implementation
accordingly.

CL: https://codereview.chromium.org/266003002
Merge pull request #1962 from rakuco/cr-35.0.1916.114

Move to Chromium 35.0.1916.114.
[Runtime] Add dir and span support for widget

We can get right value for text items which have dir
propertie or span element in it.

This festure according to
http://www.w3.org/TR/widgets/#the-dir-attribute
http://www.w3.org/TR/widgets/#the-span-element-and-its-attributes
[Runtime] Fix getting the wrong value from widget API toString method.

According to W3C widget API specification, the widget.toString() method
should return "[object Widget]" value.

BUG=XWALK-1667
Merge pull request #1952 from wuhengzhi/clearCache_test

[Android] Add test case for clearCache().
Merge pull request #1961 from pozdnyakov/Remove_MainDocument

Drop "Main document" support
Merge pull request #1958 from CooderIan/span_dir_support

[Runtime] Add dir and span support for widget
Merge pull request #1965 from takethathe/widget-api

[Runtime] Fix getting the wrong value from widget API toString method.
[Tizen][Performance] Enable Accelerated 2D Canvas.

If GPU context can be lost, Accelerated 2D Canvas is disabled, because there is
no way to recover Accelerated 2D Canvas when GPU crashes. However, interestingly,
Android and ChromeOS mark it false to take advantage of Accelerated 2D Canvas
without fallback solution. They just take a risk.

So gfx::GLSurfaceEGL::IsCreateContextRobustnessSupported() decides whether to
enable A2DC. Currently, IVB supports context robustness, but ATOM might not
support it. Tizen takes a risk like Android and ChromeOS.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1452
Merge pull request #1968 from ds-hwang/a2dc

[Tizen][Performance] Enable Accelerated 2D Canvas.
Bump version to 7.35.140.0
[Android] Add space support in name field of manifest.

This patch is add space support in name field of manifest.
If the app name contains blank space, replace it with underscore.

BUG=XWALK-1718