This version transparently uses the tornado-problem-details package in the `RequestHandlerMixin`, if it's installed instead, raising `problemdetails.Problem`, instead of `tornado.web.HTTPError`.
`RequestHandlerMixin._on_postgres_error` was changed to `RequestHandlerMixin.on_postgres_error`
`RequestHandlerMixin._on_postgres_timing` was changed to `RequestHandlerMixin.on_postgres_timing`
In addition it removes the requirement for an `on_error` callback, allowing for request handlers that do not use the `RequestHandlerMixin` to catch their own exceptions and do all that work without having to override `RequestHandlerMixin.on_postgres_error`.