Upgrade Twisted version 13.1 (ready for review)

Mainly this helps with debugging due to a fix with self.successResultOf printing a traceback in case of test failure.

Also this will finally let us get rid of DeferredTestMixin, and use self.failureResultOf everywhere.