Fixed bugs in the redis cache driver.
Converted all existing model definitions to use redis instead of memcached.