Updated handlebars from 1.0.7 to 1.3.0 for bug fixes

The handlebars #each helper in the previous version does not allow a function as an option.