pep8; tick version to 1.0.4-SNAPSHOT
patches for python 2/3 compatibility
transition to setuptools; closes #3
add travis.yml