Update to use new Travis CI infrastructure

Should speed up builds a bit. Also use 2.10.4 for Scala.

http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/

Signed-off-by: Chris Aniszczyk <zx@twitter.com>