travis: Update to Ubuntu Trusty

We require quite new dependencies that are not easy to back-port to
Ubuntu Precise, the default version that Travis CI uses.