Initial attempt at ubuntu support
Small fix
Used ensure_packages instead of package define for better compatibility
Merge pull request #2 from justicel/master

Adds ubuntu support and some lint cleanup