Update .gitignore
Add tests for passing blocks to hooks

Also add support for passing on the block to hooks defined as blocks.
Add around hook support