Add retry to `gem install bundler` for Travis

This adds the retry behaviour used for other commands to the bundler installation.
Merge pull request #11672 from henrikhodne/patch-1

Add retry to `gem install bundler` for Travis