made dependencies accessible to the outside

I'm not actually certain that the `__name__` check in `setup.py` will
work across all scenarios - I suppose we'll just have to try it

in the process, updated some documentation; pytest is now a separate
library
added Travis CI configuration

mostly for ensuring compatibility with different versions of Python