Allow class based views to control cache timeout with attribute

The original problem that encouraged this patch was to be able to control cache timeouts on groups of class based views by setting it on a parent class.