Support keyword arguments in blocks

fixes #511
Merge pull request #513 from presidentbeef/keyword_arguments_in_block

Support keyword arguments in blocks