[Android] Fix XWalk crash issue when exiting if remote debugging is enabled.

The root cause is that DevToolsHttpHandlerImpl::Stop has been called before
DevToolsClientHostImpl::InspectedContentsClosing. In that case, the thread
is released and message loop is set to null, so XWalk crashes.

The fix is to change the teardown sequence to destory view first, then shutdown
remote debugging server.

BUG=https://crosswalk-project.org/jira/browse/XWALK-312
Merge pull request #1099 from cmarcelo/eph-fix

[Extensions] Fix race condition in EPH, fix flaky CloseNativeWindow
Merge pull request #1115 from huningxin/remote-debugger-crash-fix

[Android] Fix XWalk crash issue when exiting if remote debugging is enab...
[Android] Add version number tracking for packing tool.

The version number of packing tool is the same as that of XWalk.
With the version, it would be easier to track bugs for packing tool.
Usage: python make_apk.py -v

BUG=https://crosswalk-project.org/jira/browse/XWALK-163
Merge pull request #1087 from junmin-zhu/version

[Android] Add version number tracking for packing tool.
[Application] Move package details inside ApplicationService

These are details for package installation that belong to
ApplicationService object, which is responsible for installation and
uninstallation of packages.
[Application] PackageInstaller doesn't need to be RefCounted

That capability is not used in the code, so it's better to remove it. An
unused constructor was also removed.

This patch also adds a small class comment to PackageInstaller.
[Application] Move handling of management commands to ApplicationSystem

This patch is more about moving this logic out of XWalkBrowserMainParts
to a more reasonable location. We may decide to move this handling code
later (to hid it more) when implementing the IPC-based handling of the
mode.

Another outcome is that the logic for launching applications (and all
its cases) is clearer now.
[Application] Move logic for launching app to ApplicationSystem

Main motivation was to abstract this complexity away from
XWalkBrowserMainParts. ApplicationSystem now deals with the different
ways to pass the app id in the command line.

It turns out that after the refactoring, we can see that Tizen sensor
initialization wasn't being called in some cases when running
applications.
[Application] Remove unused includes from XWalkBrowserMainParts