Update redis_db.js

Added functionality to connect to a Redis server via Unix sockets.
Update redis_db.js

Rewrote the socket check.
Merge pull request #49 from Mosely/master

Adding Unix Socket connectivity for Redis.