Add a simple units helper class

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

Add a simple units helper class