improving version.py -- more robust
reorganizing tests so that they run under pytest and get called by `python setup.py test`
adding tests_require
Merge pull request #13 from diffeo/master

improving version.py -- more robust