redis.StrictRedis compatibility for contrib.cache.RedisCache

redis's StrictRedis changes the argument order for a few methods: `lrem`, `setex`, `zadd`. Of the 3, RedisCache uses `setex`, so swap the arguments if we can possibly detect that it's necessary.