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/#/