Do travis-ci on python 2 & 3; related fixes
be xcb == 1.8 compatible for now

travis-ci doesn't have a version of trusty yet; this can be reverted when
https://github.com/travis-ci/travis-ci/issues/2046 is closed.