Add .travis.yml

Allows Travis CI support (https://travis-ci.org/)
Spaces to tabs
Add travis-ci build status badge to README.md
Re-use spaces instead of tabs

YAML format does not support tabs
Merge branch 'travis' into fix-for-1.7