run hooks through template allowing for dynamic contexting in pre/post hooks

You can now run the pre/post hooks through jinja allowing for context variables to be accessed
You need to pass the context variable to the `_run_hook` call.