Upgrade to handlebars 2
Code cleanup
Bump version to 0.5.0