Adding max_age support to couchdb caches.