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

Apologies for double PR. Learned the hard way the value of working issues on branches.