add support for transformStackTrace hook to HtmlReporter

Support for an asynchronous transformStackTrace hook for HtmlReporter, to support applying sourcemaps (or other async-doing things) to the stack trace output. 

See #491