Add support for commit-msg hooks
Move to HookContexts
Move hook_type out of HookRunner