move configuration into cache section, like apt
always cache bundler when it has been explicitely enabled, only cache if there is a Gemfile.lock if it has been implicitely enabled
improve bundler path logic