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.
I like @MaxGabriel's suggestion to post this information as an `NSNotification`. As Max says that'd be a more flexible arrangement, useful for this purpose and others.