Cache dependencies on Travis CI

http://about.travis-ci.org/docs/user/caching/