[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
[Tizen][Runtime] Fix can not update application.

In the old logic, when we update an application, we
uninstall the old application and install new application,
but when we call
     <pkgmgr_parser_parse_manifest_for_installation>
and  <pkgmgr_parser_parse_manifest_for_uninstallation>
on one process, this process will crash.So we should use
     <pkgmgr_parser_parse_manifest_for_upgrade>
to update.

And we should make a new pkg start point for new app data.

BUG=XWALK-1738
[Android] At the end of make_apk execution, show reminder to upload packages for ARM and IA

Format the output as the requirement of XWALK1648.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1648
[Tizen][Runtime] Reconstruct some code on pkg helper.

When update have similar work way, I make some shared function.

And I also make some change on uninstall, so that we can see
the step of uninstall clearly.
[Tizen][Runtime] Should not check the package version for Tizen web
application when updating.

In Tizen platform, package version checking should be ignored when
updating, means that the downgrade and reinstall a package is
permitted, and this is the same behavior as Tizen WRT.

BUG=XWALK-1771
[Runtime] WARP security mode should be enabled by default.

According to the W3C widget spec, http://www.w3.org/TR/widgets-access/,
it said: In the default policy, a user agent must deny access to network
resources external to the widget by default, whether this access is
requested through APIs (e.g. XMLHttpRequest) or through
markup (e.g. iframe, script, img). Means if there's no access tag in
config.xml, all external requests should be blocked.

BUG=XWALK-1772
[Tizen][Runtime] Add default csp support for tizen.

The default CSP policy should be enforced if web app is under
CSP mode without setting any csp rule in config.xml.

BUG = XWALK-1776
[Android] Add test case for canGoForward().

Before load any url, canGoForward should be false.
After load two urls, canGoForward should be false.
Navigate to back url, canGoForward should be true.
[Android] Add test case for canGoBack().

This patch is to add test case for canGoBack().
Before load any url, canGoBack should be false.
Load the first url, canGoBack should be false.
Load the second url, canGoBack should be true.
Merge pull request #1959 from wuhengzhi/character_handling

[Android] Add space support in name field of manifest.
[Android] Add test case for getAPIVersion().

This patch is to add test case for getAPIVersion().
Verify the api version with regular expression.
[Android] Add test case for navigate().

This patch is to add test case for navigate().
Open two url, navigate to back url, get the url and compare it with the expected result.
navigate to forward url, get the url and compare it with the expected result.
Merge pull request #2003 from jinbang/test_api_canGoForward

[Android] Add test case for canGoForward().
Merge pull request #2001 from jinbang/test_api_canGoBack

[Android] Add test case for canGoBack().
Merge pull request #1963 from wuhengzhi/getAPIVersion_test

[Android] Add test case for getAPIVersion().
[Android] Add test case for getXWalkVersion().

This patch is to add test case for getXWalkVersion().
Verify the xwalk version with regular expression.
[Tizen] [multi-users] remove setuid root in xwalk-pkg-helper

xwalk-pkg-helper is always run by root user. It needs to be launched
by a user in order to retrieve User ID in application framework
and then install/remove applications in user's places.

related to XWALK-1649

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Merge pull request #1976 from CooderIan/fix_app_update

[Tizen][Runtime] Fix can not update application.
Merge pull request #2000 from CooderIan/add_defalut_csp

[Tizen][Runtime] Add default csp support for tizen.
Merge pull request #1992 from takethathe/update-version

[Tizen][Runtime] Should not check the package version for Tizen web application when updating.