Test cases for #599
Merge branch 'fix-issue-599' of github.com:laurie71/handlebars.js into laurie71-fix-issue-599
Pass options hash to context function exec

Fixes #599
Merge branch 'laurie71-fix-issue-599'