Add a db-relation-departed hook.
It tries to drop the database, but unfortunately due to bug #8 it doesn't do it in time before PostgreSQL kills access. Some workaround needed - explained in README