Add .travis.yml.
Travis-CI: Fix imports in tests.
Collect coverage info with travis-ci.
Fix .travis.yml.
Make systemtests pass on travis-ci.

Collecting coverage in systemtests gives a warning because no data can
be collecting making the test fail (no output on stderr allowed).
Added tox config.
Merge branch 'ci' into cafs
Fix Python 2.6 compatibility.
Remove overlooked debug print.
Remove Python 3.2 from testing.

Due to unicode literals not working in Python <3.3 it is too much work
ensuring the compatibility.
Fix Python 3 compatibility.
Implement binary and text mode for MemoryFile.
Fix Python 3 compatibility.

Merge branch 'py3' into cafs