Check version when evaluating templates.

This makes sure that we throw an error when a template was precompiled
with a version of Handlebars that doesn't match the evaluating version.