Fixed check for a theme's custom error.hbs

Checks if the active theme has the property `'error.hbs'` rather than just `'error'`. 
Fix for #2513