Add .travis.yml and prepare ofr coveralls support.

This should also add the badges to the README.md.