Added redis and hiredis dependencies.

Redis will be used instead of memcached.