Revert 9063b614 + fix leak correctly

9063b614 wasn't really a good fix for the leak from via
getline().  This is more direct and simple.
Update valgrind suppressions
Eliminate confusing defines

This mechanically rids us of several confusing/pointless
defines, especially aliases from the gdnsd_ to dmn_ namespaces
and the like.  Affects source-level compat for 3rd-party plugins.
Some autoconf style cleanup

mostly s/dnl/#/
fix logf_errno stuff in zscan_rfc1035.rl
func arg rename, clashes with library, technically
add V_UNUSED tags where appopriate
Split debug messages into developer and normal

In general, -DNDEBUG builds are considered "normal" while
those lacking -DNDEBUG are "developer" builds with a ton
of extra assertions, validations, debug output, and general
slowdowns.

Previously, log_debug() was suppressed (at compile time) for
normal builds and only emitted in developer builds.

This patch splits debug output into two functions:
log_debug(): emits debug output if the runtime debug config
  is set (-D commandline argument), regardless of build
log_devdebug(): is only included in developer builds, as was
  the case with log_debug() previously.

log_debug() statements in hot areas (dnsio_tcp, dnspacket) were
converted to log_devdebug(), while the rest remain log_debug().
testsuite: split daemon setup from execution

This allows tests that need to manipulate config/state-files
to do so between the initial wipe+setup of the test directory
structure and the actual daemon's launch.
testsuite: add write_statefile helper, use in 020admin
plugin_extfile: move statefile to statedir
plugin_extfile: actually start the runtime watchers
plugin_extfile: better testing (incl direct runtime update)
update ax_pthread.m4 from autoconf-archive
Merge branch 'master' into 2.x
silence unused state vars in ragel output
fix buggy assert in plugin_extfile
Remove SPF RR-type

These were never widely useful in practice thanks to the
ambiguity in the original standard.  As of RFC 7208,
Type-99 SPF records are not recommended for use at all anymore.

Refs:
http://tools.ietf.org/html/rfc6686#section-6
http://tools.ietf.org/html/rfc7208#section-3.1
http://tools.ietf.org/html/rfc7208#section-14.1
Fix a couple small memleaks on bad config inputs

Found by the new version of Coverity.
warn about deprecated SPF RRs in 1.x