Add back in hooks for deployment starting and finishing

We should migrate the _config.php changes to YML, but I couldn't get the YML version working at all.
We also need to apply to all deployment classes, not just the two. Work for later I guess.