Speeding up Travis CI builds by caching gems

Stole the cached-bundle and s3-put scripts from hub.
Thanks http://mislav.uniqpath.com/2013/12/travis-cached-bundle/