Improve redis configuration (work in progress)

First work for gitlabhq/gitlabhq#8013 (not tested yet)