When counting memory from closing a connection, count the dir conn too

Fix part of bug 11972
Count zlib buffer memory towards OOM totals.

Part of 11792.

(Uses the zlib-endorsed formula for memory needs for inflate/deflate
from "zconf.h".)
Kill non-tunneled directory connections when handling OOM.

Another part of 11792.
When looking for conns to close, count the age of linked queued data

Specifically, count the age of the data queued in a linked directory
connection's buffers when counting a stream's age.
Merge branch 'bug11792_1_squashed'

Conflicts:
	src/or/circuitlist.c
Terser ways to sandbox-allow related filenames

Using the *_array() functions here confused coverity, and was actually
a bit longer than we needed.  Now we just use macros for the repeated
bits, so that we can mention a file and a suffix-appended version in
one line.
Whitespace fixes
Remove the non-implemented versions of the sandbox _array() functions
Use the ARRAY_LENGTH macro more consistently.
Fix another memory leak case in sandbox.c:prot_strings()

This is related to the rest of 523587a5cf62119baa01822e2e783925726a790b