Changes to allow for switching the redis DB

This commit adds a config.redis.db option for switching the redis DB to something other than 0. It is set to 1 by default here.