Travis: Add travis_retry for rubygems operations

As per http://blog.travis-ci.com/2013-05-20-network-timeouts-build-retries/
and a recommendation from @travis-ci.