Add missing bits from webos-ports-lib

webos-ports-lib can now be depreciated since all are included in here
now :)
Merge pull request #4 from Herrie82/master

Add missing bits from webos-ports-lib