Added detection for upstart on Debian/Raspbian distros

Upstart is detected by calling 'initctl version' and checking for 'upstart' in the return string, as is done in /lib/lsb/init-functions