Added a dict-based cache to the request

The only requirement is to add 'auth_functional.RequestCacheMiddleware'
to the MIDDLEWARE_CLASSES setting.