need to catch compile time errors and return them in the callback

Problem: hogan compile time errors were not being reported on Raygun for event based email tasks. The reason behind this was that the errors thrown by hogan were never being handled (outside of express routes). 

Proposed Solution is to add a try catch block around the `hogan.compile` call to catch and return the error in the callback.