D-08806 Handle Handlebars errors gracefully with handleError()

When Handlebars tries to execute a template that has an error, this
displays the generic error like the other network failure errors.
Merge pull request #10 from openAgile/S-48823_SecureAPI

D-08806 Handle Handlebars errors gracefully with handleError()