Add Ubuntu packaging to the upstream source.
For Ubuntu, allow the package to manage certain aspects, such as
Upstart job installation. This patch introduces the idea of the script
running from a package (i.e. .deb or .rpm) or being run stand-alone.
Made the detection of whether or not it packaged more robust.
Merge pull request #8 from utlemming/master

Ubuntu Packaging