Merge pull request #18 from jchodera/master

Add travis-ci and basic tests [ready to merge]