make locations a cacheable document
add views to location caching
Merge pull request #3324 from dimagi/cache-locations

make locations a cacheable document