Add support for pre-<command> and post-<command> hooks
Created originally on Bitbucket by krmichel (Kyle Michel)
I have a couple of these types of hooks in an extension that I am working on and they don't fire from tortoise workbench. I assume this is because they are wired up uisetup and not reposetup in the extension. It would be an added bonus to not require my users to run certain commands (specifically revert) from the command line.