[Tizen/Desktop] Prepare app installation code for using from xwalkctl

SSIA. Application storage and installer were moved to the 'common' folder,
'xwalk_application_common.gypi' was created to be further used by xwalkctl.
Besides, this patch removes the unused "db_store" code.
Merge pull request #2125 from pozdnyakov/app_installation

[Tizen/Desktop] Prepare app installation code for using from xwalkctl
Add Multiuser support on Tizen by removing hard coded path.

This change need to use the lib libtzplatform-config.

Change-Id: Iedb7ad89e9e8dbc0d9dcf2e3473c1c359fd2704b
Signed-off-by: Stephen Clymans <stephen.clymans@open.eurogiciel.org>
[Tools] Remove support for custom variables in DEPS.xwalk.

We have not needed this for several releases, so get rid of the code to
simplify generate_gclient-xwalk.py a bit.

This is part of the preparations for XWALK-1894.
[Tools] Ignore a smaller subset of directories in a checkout.

The XWALK_SYNC_IGNORE environment variable was never used, and the
upstream wiki page the function
mentions (http://dev.chromium.org/developers/how-tos/get-the-code) does
not contain the "Reducing the size of your checkout" section anymore.

Simplify _AddIgnorepathFromEnv() by just ignoring directories outside
src/ that are never used in a regular Crosswalk checkout.

This is another commit doing some groundwork for XWALK-1894.
Merge pull request #2120 from eurogiciel-oss/Add_Tizen_Multiuser

Add Multiuser support on Tizen by removing hard coded path.
[Tools] Stop allowing different DEPS files in generate_gclient-xwalk.py.

This feature has never been used, so let us settle on DEPS.xwalk and
simplify the code a bit.

Also related to XWALK-1894.
Bump version to 8.36.160.0
[Android Extension] Fix Activity leaking caused by DeviceCapabilities extension

The static XWalkMediaCodec singleton instance indirectly holds a
reference to Activity via XWalkExtensionManager, it would prevent the
Activity object from GCed and then leak it and all its resources.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2000
[Android] Add a tracing tool for XWalk

It's a wrapper of adb_profile_chrome.py from upstream to support tracing in XWalkRuntimeClientEmbeddedShell.

BUG=XWALK-1977
Merge pull request #2128 from hmin/activity-leak

[Android Extension] Fix Activity leaking caused by DeviceCapabilities ex...
Merge pull request #2126 from kurli/profile

[Android] Add a tracing tool for XWalk
[Android] Refine the key event dispatch for xwalkview

Including following changes:
1. Hook shouldOverrideKeyEvent and onUnhandledKeyEvent into
   content layer correctly.
2. Move the key event handling in xwalkview into dispatchKeyEvent.

After change the process of key dispatch in xwalkview will be:
  Activity.dispatchKeyEvent
  -> XWalkClient.shouldOverrideKeyevent
        <if shouldOverrideKeyevent returns true>
     -> XWalkView.dispatchKeyEvent (handles backkey here)
        <if shouldOverrideKeyevent returns false>
     -> dispatch keyevent to renderer
        <if renderer doesn't consume the keyevent>
        -> web_contents_delegate::HandleKeyboardEvent
           -> XWalkWebContentDelegate.handleKeyboardEvent
              -> XWalkClient.onUnhandledKeyevent

It's pre-adjust for Embedding API v2.

Related to bug: XWALK-2003
[Android] Mark content as a local scheme in blink

Now there is no option to enable the cross-origin-access in the
context of content url in embedded mode. Regarding file scheme we
use setAllowUniversalAccessFromFileURLs option to support the
cross-orign-access. This way works for all the schemes which are
recognized as the "local" ones in blink. That's straightforward
to let content scheme follow this way to support the
cross-orgin-access setting.

BUG=XWALK-1959
Merge pull request #2130 from xingnan/1959

[Android] Mark content as a local scheme in blink
[Tools] Remove pylint workaround in generate_gclient-xwalk.py.
Merge pull request #2129 from wang16/keydispatch_api

[Android] Refine the key event dispatch for xwalkview
[Tools] Move most of the generate_gclient-xwalk's logic to DEPS.xwalk.

Most of the code in generate_gclient-xwalk.py should not exist: it
functioned mostly as a translator that read values from DEPS.xwalk and
changed them into a format suitable for gclient.

We can get rid of this intermediate step by writing DEPS.xwalk in a
gclient-compatible format. In practice, this means that DEPS.xwalk is
now responsible for:

* Setting git revision values for repositories we track, such as
  chromium-crosswalk and ozone-wayland (as before).

* Automatically ignoring some directories in the checkout.

* Setting variables parsed by gclient, such as |solutions|.

All this also allows us to remove a lot of validation code that was
scattered around generate_gclient-xwalk.py.

generate_gclient-xwalk.py now exists merely for compatibility, as it
still needs to parse the XWALK_OS_ANDROID environment variable and the
--cache-dir option and append a few more lines to .gclient-xwalk
accordingly. I can see these features being moved somewhere else and the
script getting removed altogether in the future.

This is a significant step in the preparations for XWALK-1894.
[Android] Display no scaled image when no border specified in LaunchScreen

When no border specified in the manifest, the image should not be scaled, just display
the image centered in the screen.

BUG=XWALK-1998
[Tizen/Desktop] Re-organize storage partition management

This patch removes storage partition cleanup logic from Application
Storage and Package Installer making them completely independent
from browser content API layer. Hence now both of them can be used
outside the browser process (e.g. from 'xwalkctl').

The Application Storage implementation is now much simpler which is
very important as we have plans to create an alternative Application
Storage implementation for Tizen, based on the platform 'app_info.db'.