Merge pull request #7 from webOS-ports/morphis/work

Fix cmake variable name in sysbus configuration file
Split out library to build standalone plugins for web applications

Signed-off-by: Simon Busch <morphis@gravedo.de>
Correctly use terms "plugin" and "extension"

Signed-off-by: Simon Busch <morphis@gravedo.de>
Set application id as application name

qtwebkit stores its cache and storage data in the paths

* @{HOME}/.cache/<application name>
* @{HOME}/.local/share/<application name>

To avoid that all applications store their data in the same directory we set the
application id as application name to make sure each application gets its own storage
directory.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Initialize XDG_DATA_HOME and XDG_CACHE_HOME home environment variables

If XDG_CACHE_HOME and XDG_DATA_HOME are not set webkit doesn't know where it should store
it's data for cookies, local storage, caching etc. We're using /media/cryptofs/.sysmgr as
base path here as this was also used in legacy webOS.

Fixes #465

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #8 from webOS-ports/application-name

Set application id as application name
Implement support for application plugins and extensions

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #9 from webOS-ports/morphis/extensions

Add support for extensions
Initialize extensions when page is completely loaded and not before

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #10 from webOS-ports/morphis/extensions

Initialize extensions when page is completely loaded and not before
Add a few more headless mode exceptions

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #11 from webOS-ports/morphis/nowindow

Add a few more headless mode exceptions
Add flickable configuration option for appinfo.json

Every application can decided to be placed within a flickable web view or not. Per default
the web view is not flickable and each application has to turn it on manually.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Add internetConnectivityRequired flag for application description

Applications which require a active internet connection before they can be loaded can now
indicate this through adding the boolean flag internetConnectivityRequired to their
appinfo.json. The webapp launcher will check on startup if a active internet connection is
available and if not refuce to load the app.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Load application plugins from plugins directory

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