test: make 114-presend more tolerant
Check for memory allocation errors
cmdparse: don't duplicate hostname in CPS_ParseNTPSourceAdd()

Let the caller duplicate the string if needed.
Free allocated memory on exit

This should reduce the number of possible memory leaks reported by
valgrind. The remaining reported leaks are sched tqe allocation, async
DNS instance allocation, cmdmon response/timestamp cell allocation, and
clientlog subnet allocation.
Add array utility functions
ntp: improve hashing of sources

Use 32-bit hash and switch to quadratic probing. This will be useful to
allow resizing of the hash table and not limit the number of sources.
sources: reallocate arrays in exponentially increasing sizes
sched: allocate file handlers dynamically
keys: allocate keys dynamically

This removes the limit on maximum number of keys in the key file.
refclocks: allocate refclock instances dynamically
ntp: allocate source records dynamically

This removes the limit on maximum number of added NTP sources.
conf: allocate sources dynamically

This removes the limits on maximum number of sources specified by the
initstepslew, server and refclock directives in the config file.
rtc: allocate samples dynamically
util: optimize UTI_RefidToString()
refclock: include refid in some debug messages
cmdmon: use char for permissions table
cmdmon: allocate reply slots in smaller quantums
cmdmon: fix initialization of allocated reply slots

The next pointer in the last allocated reply slot was not set. This
could cause a crash when more slots were needed. (the slots are used to
save unacknowledged replies to authenticated commands)
logging: remove warning on missing debug messages

The state of the DEBUG feature is now printed with chronyd version.