Merge pull request #1411 from cmarcelo/remove-unused

[Application][Linux] Remove unused CommandLine
[Runtime] Small refactor to our PathProvider

Move the logic for xwalk::DIR_DATA_PATH to a separate function, and
create a helper function for Linux for getting the config path from
XDG. These will be useful when we transition Tizen to use home directory
for service mode instead of the "/opt/usr/apps".
[Tizen] Install support files for "run as service" mode

This commit adds to the installation the support files for D-Bus and
systemd to make Crosswalk auto activated by D-Bus and managed by
systemd (in the user session). The xwalkctl and xwalk-launcher
applications should be used to interact with service mode.

Crosswalk is installed as a systemd user service, named
xwalk.service. To check it's status, you can use (always with app user
on Tizen 2.x)

    $ whoami
    app

    # Because shell via sdb doesn't set the right D-Bus session address,
    # we need to set it manually because systemctl uses it. Our xwalk
    # tools on Tizen will automatically find the right address.

    $ export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket

    $ systemctl --user status xwalk.service

Other regular systemd commands (restart, stop, start) should
work. Crosswalk log output will be send to the "journal" and may be
viewed by using "systemd-journalctl" command.

Because of D-Bus auto activation feature, Crosswalk doesn't need to be
manually started. Just invoke xwalkctl or xwalk-launcher and it will
run (in service mode) if it still isn't.

For debugging it might be useful to directly run Crosswalk (to use gdb
or other tools), in that case, stop the current running Crosswalk using
'systemctl --user stop xwalk.service' and run xwalk binary directly
passing '--run-as-service'.

For now, we still support the current (non-service) way of using
Crosswalk. To avoid conflicts in the configuration files, we use a
different data directory (in $HOME). This means that we have different
app database, so do not expect apps installed in one way to work in
another.

Once we make sure service mode is running OK, we plan to remove the
current way of using Crosswalk (at least on Tizen)

- remove the "xwalk --install and --uninstall" switches;
- remove the "xwalk" script from $PATH;
- and then make the service mode default.

What is still missing in service mode is support for the Tizen-specific
steps of the installation (making the installed app appear on the
homescreen). Those will come in a later change, using the already landed
xwalk-pkg-helper tool.