Cleaned up R connection and caching

For R connections:
1. Bypasses Django cache framework, and directly talks to redis using redis.StrictRedis. Helps in data readability on either side.
2. Cleaned up module; Added error handling

Moved decorators to a separate module