Post hooks

One possibility for post deploy commands.

I wasn't sure how you were testing so I added some tests but kept them in separate commits in case you want to ignore them.