Add support for Handlebars 1.1.0-alpha.01

This still works without AMD and for Handlebars 1.0.0 final which
has no support for AMD. Also see: https://github.com/wycats/handlebars.js/pull/537