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