Respect the configured redis URL when initializing the session store
Created by: vollnhals
It was not possible to start Gitlab with a redis server running on another host or port. Every other subsystem that uses redis respects the settings in config/resque.yml.
This patch uses the configured url if present and falls back to localhost:6379
Compare this code to the relevant lines in config/environments/production.rb