Added a hook on SLTest for when exceptions are thrown.

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.
The failure/exception info ought to be initialized with this exception--it's the most complete record of the event.