Merge pull request #7 from Garfonso/master

fixed acitivity issues and made service endpoints private.
Merge pull request #8 from Garfonso/master

update service should now work again
Remove application; it's now part of the settings app

Signed-off-by: Simon Busch <morphis@gravedo.de>
Implement the other part of the system update

* running the update will reboot the device into the system update mode (see
  http://freedesktop.org/wiki/Software/systemd/SystemUpdates/)
* in system update mode the run-update.sh script is executed through the systemd service
  and updates all previously downloaded packages

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

Morphis/work
Merge branch 'master' of https://github.com/webOS-ports/org.webosports.update
Merge branch 'garfonso/work'
Add API method to just retrieve the current local version

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

Add API method to just retrieve the current local version
added helper to avoid try/catch blocks

it seems try/catch blocks are slow in V8 (i.e. node.js).
I added them just to prevent futures from throwing exceptions
at me. This works fine, too.

Bonus: Made error handling a bit simpler in some places.
added check for internet connection
improved error messages of checkUpdateAssistant