Only delete our written config; use "RDB_" names as well

Also add some more documentation and remove the blank lines echoed
in the pre-deploy hook.