Change version of handlebars dependency

Force handlebars to use a version ~1.3.x instead of the newer 2.0.x alpha, until the new version will stop breaking the middleware.