urlescaping attachment_src since it might
have unsavory characters.
adding attachment file test with url escape
necessary characters
cached_object caching cleanup

clearly clever compartmentalization can cancel code clutter
consolidated, cleaner cached object retrieval
bumping dimagi utils req for setup.py
add a 'lite' flag to the json format that will not include reverse indices

(because they are very expensive to get)
allow deleted cases in restore footprint
add logging statement for restores that include deleted cases