[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
Merge pull request #1365 from shaochangbin/app-extension-namespace

[Runtime] Move application runtime& event extension under xwalk::application namespace.
Merge pull request #1367 from kenchris/lockOrientation

Implement DOM screen.lockOrientation and screen.unlockOrientation
[Runtime] Add install_time field in ApplicationData

The time of application installing should be stored in ApplicationData
as application meta data. It is a constant, so just have a getter method
for it.
Merge pull request #1359 from takethathe/installed_time

[Runtime] Add install_time field in ApplicationData
[Runtime] Polish application browser test

1. Add a new xwalk.app.test.notifyTimeout API to notify test timeout.

2. Make test API extension running on UI thread. And let the client to return
the xwalk.app.test.notifyPass/Fail/Timeout callback explicitly when it's ready.

3. Using Promise to provide a common asynchronous test driver. The JS can now
write code like below to test:
  function test1(resolve) { ... } // calls resolve() when test is done
  function test2(resolve) { ... } // calls resolve() when test is done
  var tests = [test1, test2];
  xwalk.app.test.runTests(tests, 5000); // if all tests can't finish in 5
  seconds then a TIMEOUT notification will be sent.
Merge pull request #1340 from seanlong/event_router

[Runtime] Polish application browser test
Bump version to 4.32.57.0
[Applications][Linux] Remove unused variables from xwalkctl
[Applications][Tizen] Fix having to export the HOME variable for user 'app'

When the user changes to the 'app' user (e.g. using 'su - app') the
HOME environment variable is not set by default, this variable is used
for finding the address of the D-Bus session bus.

This is separated in a different header so it can be used by other tools,
see later commits.
[Applications][Linux] Add a tool to launch applications

This tool will launch an Application using its AppID (either via
parameter or via argv[0]).  It will talk to Crosswalk using the
'org.crosswalkproject.Running.Manager' and
org.crosswalkproject.Running.Application' to run and follow the
Application lifetime.

On Tizen, this tool will use the appcode infrastructure to get more
information about the launched application state.

We re-use the functionality of setting the 'HOME' environment
variable that was introduced in the previous commit.

And to avoid polluting the main binary with #ifdef's we put
the platform specific code (dealing with Tizen's appcore) into
a separated header.