TestCase::setErrorCallback

Sets the JError error handlers to callback mode and points them at the test logging method.