More elastic Handlebars.VERSION check

Handlebars version changed format a bit, from `1.0.rc2` to `1.0.0-rc3`, which causes an error on version check, even though `1.0.0-rc3` is newest version. I made the regexp more flexible, to handle both versioning formats.