Add .travis.yml for integration with Travis CI

For automated testing on multiple python platforms.
Restrict testing to python2.7 upwards

Python2.6 and below is not supported at the moment, because it does not
have the collections.MutableMapping type.

There may be further issues.
Merge branch 'publish'