Modernize import of StringIO
Use .assertEqual() instead of assertEquals()
Convert README and TODO to reST, and update them