support using custom redis database, fixes #173
Merge pull request #174 from UniIsland/redis-custom-database

support using custom redis database, fixes #173