initial commit for couch_cache
Merge branch 'master' into couch_cache
Merge branch 'perf_monitoring_fix' into couch_cache
intial commit for couch caching

caches views and doc GETs
better handling of reduce views with no doc_ids
updating some docs
wip adding cache tracing for devserver
removing cruft
Merge branch 'master' into couch_cache
re adding partial key ... removed it by accident

also having purge_doc return last version in case of getting doc_type at deletion event (though we never delete anything)
passable overriding expire
for keys that are more ephemeral

upping timeout for global keys cuz we now those are going to be
handled by pillow
adjusting cached_view to also do a doc_get if the doc isn't cached

doesn't feel right, but expirations and other invaidation might squash the master doc.
import cleanup, formatting
returning deleted last version to a json object instead of a string
adding doc_id based helper caches
Merge branch 'master' into couch_cache

Conflicts:
	dimagi/utils/couch/debugdb/debugdatabase.py
fixing debugdatabase typo
generational caching wip
Merge commit '18ee55b9cbae43c3b2d2465c1eb629800dd8a516' into HEAD

Conflicts:
	dimagi/utils/couch/cache/cache_core.py
adding flush caches management command