Python 3 support

* Replace legacy print statement usage with print functions
* Stop using dict.iteritems()
* Minor PEP-8 cleanup
* Add a basic smoke test
setuptools, Travis CI and tox test support

Now "python setup.py nosetests" will run the smoke tests
README: explicitly note Python 3 support
README: add Travis CI badge
Tweak travis config