[Tizen] Check signature value using xmlsec1 library

Based on API provided by xmlsec1 library, signature value and reference
are checked.
[Android] Use activity for Presentaion extension

android.app.Presentation requires activity instance
for constructor. Use the weak references stored
in PresentationExtension.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2542
[Android] Embedding API version 3.0

New APIs in 3.0:
XWalkPreferences.JAVASCRIPT_CAN_OPEN_WINDOW;
XWalkPreferences.ALLOW_UNIVERSAL_ACCESS_FROM_FILE;
XWalkPreferences.SUPPORT_MULTIPLE_WINDOWS;
XWalkPreferences.PROFILE_NAME;
XWalkPreferences.setValue(String key, int value);
XWalkPreferences.setValue(String key, String value);
XWalkPreferences.getBooleanValue(String key);
XWalkPreferences.getIntegerValue(String key);
XWalkPreferences.getStringValue(String key);

Deprecated API in 3.0:
boolean XWalkPreferences.getValue(String key);
Merge pull request #2422 from xuzhang/widgetsignature

[Tizen] Check signature value using xmlsec1 library
Disallow arbitrary start URLs in the Manifest

Before this change Crosswalk allowed app launchig from arbitrary start URL's in the manifest.json ( config.xml for widgets).
which is not allowed by both W3C manifest (http://w3c.github.io/manifest/#dfn-steps-for-processing-the-start_url-member) and
widget (http://www.w3.org/TR/widgets/#the-src-attribute-0) specifications.

BUG=XWALK-2535
[Tizen][Runtime] Replace application Hide() with Minimize()

When XDG_Shell is enabled, the Minimize() function is properly implemented, original Hide() function cannot hide current application. We should call Minimize() to really hide application.

BUG=XWALK-2578
[Tizen][Desktop] Disable viewport meta

The apps using viewport meta are displayed wrongly
(not usable actually, see the related bug description).

Same problems observed with content shell on Linux.

This patch provides a temporary solution: disable viewport
meta tag.

BUG=XWALK-2577
[Android] Update xwalk_app_template after shared layer move into core

The main changes are:
1. There is no xwalk_runtime_java.jar any more.
2. Split xwalk_core_library_java.jar into app part and library part
   to support shared mode.
For aar package, since it on accepts one classes.jar, still create
xwalk_core_library_java.jar and pass it as argument when creating
aar package.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2537
Merge pull request #2444 from wang16/make_apk_shared_mode

[Android] Update xwalk_app_template after shared layer move into core
Merge pull request #2441 from wang16/presentation_api

[Android] Use activity for Presentaion extension
Merge pull request #2442 from wang16/embedding_api

[Android] Embedding API version 3.0
 [Android] Create build directory in temp dir

 The build directory will be created in the system temp directory.
 Added two options:
  --project-dir=<DIR> Allow saving the build directory to a location
  --project-only      Skip creation of APKs.  Just save the project dir
 Modified make_apk_test.py to include option "--project_dir=." in tests

 Bug=XWALK-2394
Merge pull request #2416 from pozdnyakov/fix_start_URLs

Disallow arbitrary start URLs in the Manifest
Merge pull request #2443 from yejingfu/oz-wl

[Tizen][Runtime] Replace application Hide() with Minimize()
Merge pull request #2427 from bspencer/build-in-temp-dir

Create project build directory in temp directory
Merge pull request #2446 from pozdnyakov/disable_viewport_meta

[Tizen][Desktop] Disable viewport meta
Fix Backend

Align the wrapper script to have the correct behavior
Remove setuid bit in package-helper
Adapt the user check function for xwalkctl binary

BUG=XWALK-1731

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>