Use travis_retry to create Rails app before tests

When creating the Rails app before tests we run `bundle install`. This
may fail on Travis so tell it to retry this if it fails.