Support for db number in redis cache with db defaulted to 0

Redis allows multiple dbs with zero based numeric index. Added a option to select db on which to connect.