Fix tests, the run tests script and ubuntu git installs.

* The run tests script now requires root permissions to execute.
* Ubuntu git installs were starting upstarts services without checking if they were already running.
* We now also check if upstart support exists and use upstarts files instead of the `init.d` files, ie, or upstart or `init.d`.
* On Debian and Ubuntu we gather the packages to install(master, minion, syndic) and install them in one command.
* We now detect if the script is running piped or not.