SAK-24180

Add better try / catch and reporting of runtime errors.



git-svn-id: https://source.sakaiproject.org/svn/basiclti/branches/BLTI-230@131367 66ffb92e-73f9-0310-93c1-f5514f145a0a