allow redis database number to be specified in resque.yml

I was attempting to run multiple gitlab instances on the same server, and figured the best way to keep them separated was to simply use different redis databases for them

the post-receive hook is not ideal, but it works