[Android] Refine the help information of packaging tool.

Group the options according their usage.

BUG=https://crosswalk-project.org/jira/browse/XWALK-666
Add Tizen native view code for handling orientation lock

Allow setting the system allowed orientations using an environment
variable TIZEN_ALLOWED_ORIENTATIONS. This is useful for testing.
[Android] Fix the app local path parser issue in manifest parser.

  The app local path field is not parsed correctly. This fix it to
resolve this issue by adding the judgement from app->launch->local_path.

BUG=https://crosswalk-project.org/jira/browse/XWALK-695
[Android] Fix that instrumentation test is not using ShellActivity

The correct usage of instrumentation test is to direct operate
the Activity in target package instead of creating one.

Change the test util base Class to get XWalkRuntimeClient from
XWalkRuntimeActivityBase.

TODO(hengzhi): Fix the same issue with CoreShellTest and RuntimeShellTest
[Android] Put app resource in sub directory of assets

Before this all app resources are put in assets, which may cause
confliction with other resources(of runtime, extensions etc).
So we define a sub directory "www" to put the app resources
instead.

BUG=https://crosswalk-project.org/jira/browse/XWALK-174
[Android] Add app URI scheme support

1 App URI scheme is part of sysapps API, http://app-uri.sysapps.org
2 On Android the local resources are located in assets, which could
be accessed by file:///android_asset/ scheme. So we bridge the app
URI to file URI.
3 Add the HTTP response support(200, 400, 403, 404, 501).

BUG=https://crosswalk-project.org/jira/browse/XWALK-174
﻿[Android] Enable the io thread client in xwalk content.

  The io thread client is implemented while not enabled in xwalk content,
this fix is to enable the io thread client in xwalk content and adding the
related handler into the xwalk content native layer and java layer.

BUG=https://crosswalk-project.org/jira/browse/XWALK-653
[SysApps][Android] W3C SysApps Messaging API

The implementation is based on 29 November 2013 editor's draft version
http://www.w3.org/2012/sysapps/messaging/

Completed features list:

Send/receive SMS messages.
Find/list SMS messages
Find/list SMS conversations
Delete SMS messages
Delete SMS conversations
Mark SMS message read status
Mark SMS conversation read status
Feature: https://crosswalk-project.org/jira/browse/XWALK-53

MMS Features is holded. Waiting for Android official Mms API ready.
Bump Crosswalk's major version to 4.

BUG=https://crosswalk-project.org/jira/browse/XWALK-712
[Extensions] Fix runtime symbol missing for xesh

Fixes runtime error when building with component=shared_library.

symbol lookup error: libglue_child.so: undefined symbol: HeapProfilerStart
[SysApps] Introduce the SysAppsManager

This class will be the single entry point for registering all
the SysApps extensions. It should be the only class of the "sysapps"
namespace exposed to other subsystems.

In the future it will also manage the lifecycle of data providers (platform
abstractions for extensions like DeviceCapabilities).
[SysApps] Add a "sysapps" master flag

A single flag to disable all the SysApps APIs.
[SysApps] Add unit tests for the SysAppsManager
[Runtime] Move application runtime& event extension under xwalk::application namespace.

Present ApplicationEventExtension & ApplicationRuntimeExtension are
located inside namespace "xwalk". Actually they are parts of
"application module". This PR moves the two inside namespace
"xwalk::application".
Implement DOM screen.lockOrientation and screen.unlockOrientation

Can be tested manually with http://jsbin.com/IJapIVE/4
[Runtime] Implement 'onInstalled' event API.

'onInstalled' event is sent to main page,
1. when the application is first installed.
2. when the application is updated to a new version.
https://crosswalk-project.org/jira/browse/XWALK-723

The PR implements the 'onInstalled' API for the first use case.
Use case 2 isn't implemented at present due to Crosswalk application
update is not supported yet.
[Runtime] Add browsertest for onInstalled event API.