Patched over cmp calls
First round of test-tools changes
The most notable changes were replacing the twisted http and ftp servers with tornado and pyftpdlib. I also attempted to replace two cgi files with an equivalency handler in tornado, but I haven't tested it.
I removed the included doctest module because I thought I could get away with using the regular built-in module. I'll need to look into replacing the linecache_copy and functools_copy modules as well.
Workaround for "from mechanize import *" within function
Test revisions: Round 1

Changes included import fixes (cPickle, StringIO) and calls to print
within docstrings and doctests. I made a few changes related to bytes
and str.
Test revisions: Round 2
At this point, instead of trying to fix the test errors as they pop up, I plan on going through all of mechanize and attempting to sort out str vs bytes issues.
Utilized html.parser.HTMLParser.unescape()