added readme and doctests, closes #1
first attempt at travis-ci