Cache key ignores query parameters

This is an incomplete pull request. It shows a bug with the view cache- it's ignoring the query parameters when it builds the cache key. I couldn't understand the code in the cache key constructor to actually implement a fix for this problem.