Added a hook on SLTest exposing failures that are encountered during a test run.

We'd like to display some more debugging information about a test failure when it happens, so we've added a hook to support this.
I think that this should be the exception that's recorded in the failure, as the most complete record of the event.