Replace the concept of pre/post task hooks with a single task_hook.
Merge pull request #21 from mrrrgn/single-hook

Replace the concept of pre/post task hooks with a single task_hook.