Fix upstart scripts to only start when dependent services are up

Fixes #21