Use Bundler.with_clean_env

Use Bundler.with_clean_env for cleaner behaviour when performing actions
for different test Gemfiles, mainly installing dependencies.

Previously, running e.g. `bundle exec rake test:rc` could resuly in
errors as the parent Bundler environment was fully removed.