Always locally store metadata

Local caching of metadata is cheap, improves response
time for 304s and generates less memcached traffic.
Only record local hits when entity is local hit
Use ngx.CRIT log level for errors so they show up in log.error