Added detection for upstart on Debian/Raspbian distros

Upstart is detected on Debian (and Raspbian) by calling '/sbin/initctl version' and checking for 'upstart' in the return string, as is done in /lib/lsb/init-functions

This commit fixes issue #8039