Various improvements to upstart bootstraper.
Support resource system for dependencies.

Flynn-postgres can use this for example.
Fix Flynn-Postgres service discovery loop.

The exception it was attempting to catch had changed.
Upstart: delete files when instances terminate.