RedisCache refactor driven by easy stubbing, fix specs
move RedisCache source code to lib/