[Tizen][Runtime] Update application information in DBus service when
updating.

When updating application, the information cached in DBus service should
be synced as well.

BUG=XWALK-1231
Remove content_resource.pak from pak list.

The content_resources.pak only contains html/js/css files for chrome webui.
As the webui is not needed for xwalk, so just ignore it.
This can reduce size of xwalk.pak for about 150k

BUG=
[Android] Correct the usage of all_dependent_settings for core library

Previously, the all_dependent_settings is incorrectly used
in xwalk_core_library.gypi.
It's not used to include all the settings for some target's
dependencies. It's actually do settings for all the targets
depends on the one declares all_dependent_settings.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1575
[Android] Add test case for getUrl().

This patch is to add test case for getUrl().
Open a url, get the url on ui thread, compare it with the expected.
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 getTitle().

This patch is to add test case for getTitle().
Open a url, get the title on ui thread and compare it with the expected
result.
[Android] Reordered the declaration of WebContents and WebContentsDelegate in XWalkContent

It will cause crash when destroy XWalkContent, caused by destruction order.

The WebContentsDelegate need to take ownership of WebContents
as chrome content design. For crosswalk, XWalkContent owns these two,
Currently as a workaround, reorder the declaration to make sure the
WebContents destructed before WebContentsDelegate.

BUG=XWALK-1639
[Runtime] Fix the crash due to the sanity check

Miss the sanity check of the ApplicaionData used in
ApplicationProtocolHandler::MaybeCreateJob().

BUG=XWALK-1677
Merge pull request #1926 from wang16/fix_core_library

[Android] Correct the usage of all_dependent_settings for core library
Merge pull request #1942 from kurli/fix-exit-crash

[Android] Reordered the declaration of WebContents and WebContentsDelegate in XWalkContent
Merge pull request #1903 from sqliu/remove-content-pak

Remove content_resource.pak from pak list.
[Android] Fix some PEP8 errors.

Summary of the types of errors:
* E128: Bad indent
* E203: whitespace before ":"
* E222: multiple spaces after operator
* E231: missing whitespace after operator
* E251: unexpected spaces around keyword / parameter equals
* E302: Two blank lines between definition of runtions.
* E501: line too long (80 > 79 characters)
* E711 comparison to None should be "if cond is None:"
[Android] Apk will crash when set ‘undefined’ arch option

To filter out invalid values for option "arch".

BUG=https://crosswalk-project.org/jira/browse/XWALK-1618
Merge pull request #1944 from xingnan/1677

[Runtime] Fix the crash due to the sanity check
[Tizen][Runtime] Fix xwalkctl can not print right encode for string

g_print will convert the encoding of string according to
locale, but unfortunately the default locale is "C", and
g_print will convert string to ASCII for print when the
terminal might use ut8 encode.

To slove this problem, we can set empty locale on xwalkctl
start, and the program will get locale from environment
variables.

And we can export environment variable
like : export LC_ALL="zh_CN.utf8"
according to the actual situation of your terminal.
Merge pull request #1883 from takethathe/name-update

[Tizen][Runtime] Update application information in DBus service when updating.
[Tizen] Enable NaCl/PNaCl for 32bit build

Summary of changes:
============
* Enable nacl build and packaing in crosswalk.spec
* Unify GetXWalkDataPath for Tizen (service and non-service)
* Add native_client in source tarball

How to test:
============
On linux
$ cd <nacl_sdk_dir>/pepper_canary/example
$ TOOLCHAIN=pnacl make serve

On Tizen device or VM:
$ xwalk http://<your_linux_host>:5103/demo/flock/index.html?tc=pnacl

BUG=XWALK-1339
[Tizen] Add installer update signal and refactored package installer related code

To support "update" signal, a new "--update" argument is added to
xwalk-pkg-helper. The PkgInstaller is also refactored, original
install/uninstall methods are made internal, the public
install/uninstall/update methods will handle these signals sending.

As the package helper is only used by Tizen, remove Linux build for
it. Also put Tizen package insaller related functions to an
PackageInstaller
class, and these service mode checkers are removed from
ApplicationService.

BUG=XWALK-1600
[Tizen] Fail to launch the "Webapi/Runtime" component

The issue occurred because EP file descriptor was attempted
to pass before is was initialized (before EP actually started).

BUG=XWALK-1432
Merge pull request #1947 from yeyuyinjie/fix_xwalkctl_encode

[Tizen][Runtime] Fix xwalkctl can not print right encode for string