Adjust parameters for webapp-launcher

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't specify a window type for the launcher application

Luna Next will detect the launcher application by it's id set as property of the created
window.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Save application info file path and reuse it on launch

If the application info is parsed from a file we can later use it to launch the
application with the webapp launcher rather then creating a tempory file for it. In case
where we don't have a application info file we still create a tempory file for it and pass
it to the launcher.

Signed-off-by: Simon Busch <morphis@gravedo.de>
BootManager: Simplify start process of the launcher application

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationProcessManager: don't use window type anymore

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationInstaller: switch from ipkg to opkg

Signed-off-by: Simon Busch <morphis@gravedo.de>
scripts: add some necessary scripts for application installation

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationInstaller: drop some old configuration variables

Signed-off-by: Simon Busch <morphis@gravedo.de>
scripts: fix permissions of application installer scripts

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationManager: supply launchedAtBoot parameter for boot time launched applications

Not supplying the parameter will cause the applications to start in card mode which isn't
the intention.

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationProcessManager: supply application parameters to webapp launcher

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement first part of the application lifecylce management

If an application wants to be managed through it's lifecycle it needs to register itself
with the application manager in order to receive lifecycle events. Registration is managed
as simple subscription where each subscriber is handled individually by the application
manager. Currently relaunch is the only implemented lifecycle event.

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationManager: focus relaunched application on UI side

Signed-off-by: Simon Busch <morphis@gravedo.de>
Don't specify inbound/outbound permissions more than once for same service name

Signed-off-by: Simon Busch <morphis@gravedo.de>
BootManager: when reaching normal state create suspend activate marker for sleepd

sleepd needs /tmp/suspend_active as marker to activate suspending the device. If it's not
available it will refuse to suspend.

Signed-off-by: Simon Busch <morphis@gravedo.de>
DisplayStates: don't handle usb in/out events when suspended

Signed-off-by: Simon Busch <morphis@gravedo.de>
conf: add keyboard preference settings

Signed-off-by: Simon Busch <morphis@gravedo.de>
ApplicationProcessManager: pass correct entry point for native applications

Signed-off-by: Simon Busch <morphis@gravedo.de>
BootManager: take into account that compositor may not be started when we reach first use state

Signed-off-by: Simon Busch <morphis@gravedo.de>
DeviceInfo: use settings rather than asking the host instance

The HostArm class uses access to the framebuffer to determine the display dimensions. This
can lead to some problems with multiple processes trying to access where only the first
one wins.

Signed-off-by: Simon Busch <morphis@gravedo.de>