Add caching to dependencies

Details from the following blog post:
  http://about.travis-ci.org/blog/2013-12-05-speed-up-your-builds-cache-your-dependencies/
Merge pull request #5 from RobLoach/cache

Add caching to dependencies