Made 2to3 recommended changes
Initial nosetests run
Fixed queue import errors
Fixed metaclass errors
Fixed StringIO import errors
Fixed most incompatibilities, some tests are still failing though