made travis config more sensible, not deploying to pypi on each commit. Also added scripts to do checks and run tests.