Add python3 support for nosetests