Update some unfortunate terminal-related hacks to support the most recent release of Twisted
Author: jonathanj
Reviewer: exarkun
The Imaginary tests depend on some private implementation details from Twisted which
have changed between Twisted 13.0 and Twisted 13.1. This changes the tests to depend
on the Twisted 13.1 version rather than the pre-13.1 version. This will cause the
tests to fail against any older version of Twisted, but causes them to pass on the
most recent version (13.1).