set vars in uploaded wikidocs
update coverity upload URL
Bugfix: JSON state output was missing a comma
Fix speling erors
Update github links for org account
use CLOEXEC on inotify fd
Cleanup/debug/improve systemd and daemonization/logging

0) Removes the --with-systemd configure flag as well as any
possible dependency on systemd headers and/or libraries.
Basic systemd support is automatic and built-in for all
Linux builds.

1) Removes direct use of the systemd journal API.  The
systemd journal API just made things very complicated in the
logging code, and doesn't really accomplish anything better
than letting systemd capture vsyslog()/stderr output and
send that to the journal itself, so removing it seems like a
positive change.

1.5) Also, the above clears up a 2.0.0 bug where a daemon
built --with-systemd would not emit the expected syslog
output when run under another init system.

2) Removes the optional systemd watchdog support.  The
watchdog support also seemed like a pointless complication
all things considered: it's not really monitoring anything
that systemd can't tell for itself by knowing whether the
process has died or not.

3) Adds a gdnsd.service unit file which is templated for the
gdnsd binary location and installed on "make install" (if
applicable).  There is a new related configure option
--with-systemdsystemunitdir to override or suppress the
installation of it.

4) This commit changes the way we start/"daemonize" under
systemd.  The old model was Type=forking with gdnsd doing an
sd_notify() of the appropriate MAINPID.  The new model is to
use Type=notify, not actually daemonize (using -f in
ExecStart), and send READY=1 when the daemon is ready for
queries.  The supplied unit file takes care of these
details, so please use it!

5) All commands now always send all output to syslog by
default (except the initial "usage" output when the
commandline arguments are invalid).

6) A new commandline flag "-x" is added to suppress all
syslog output.  Only compatible with [re]start if "-f" is
also specified.

7) All commands now always send output to the terminal
consistently as well.  In the [re]start cases without "-f",
this ceases when the foreground-most process exits and the
new daemon is successfully running.  In all cases, stdout is
used for info/debug -level messages, and stderr is used for
warning and higher.

As a consequence of refactoring for the above and
reexamining the code in general, there are a several other
improvements to the daemonization/logging code in the
non-systemd case as well.  As noted in the NEWS update, the
stdio output behavior changes are probably relevant to most
initscript authors.

There are still some issues with the lifecycle of the extmon
plugin's helper process to be resolved in a further commit,
but they're not super critical.
More robust check for running_under_sd
switch log_fatal() back to using abort() by default
pthread_sigmask nits

Technically it can fail, so check errors.  Also technically
due to poor standards wording, it may not be a good idea to
not initialize the output set, even though it makes little sense.
Refactor/Fix extmon child process handling.

There were basically two larger issues here:

1) The gdnsd_extmon_helper child process wasn't being
cleanly managed by the main daemon.  When the main daemon
chose to exit, it simply left it blowing in the wind and
re-parented to init, with the result that it would finish
its current round of monitoring, then happen to notice a
closed pipe to the main daemon and exit, letting init reap
its status.

2) Within gdnsd_extmon_helper, similar issues applied to the
handling of extant child processes defined by the user at
the time of shutdown, which were unceremoniously SIGKILLed
in a loop and then never reaped (so again, it was left to
the init daemon to clean up the mess).

Those aside, in general the process coordination in both
areas was a little shoddy and in some cases a little racy
with regards to signals.  It did "work" reliably in
practice, but this new way of doing things will hopefully
"work" in a much more clean and correct fashion.
fix valgrind script
Fix missing NSIG in extmon.c
NEWS update
UDP sockopts review / improvements

Turn off PMTUD / DF bit for IPv6
More compat for IPv6 PKTINFO, and fail if neither avail
Add cppcheck script to qa/
Suppress the 3x current cppcheck warnings

These warnings are valid and useful in general, but in these
particular cases I'd rather continue using the non-reentrant
calls because (a) they're simpler and (b) these are all
called exclusively from startup code long before we spawn
any threads.
Fix includefile issue on MacOS

(... I wish I knew of a decent automated way to test
for #include sanity (at least for indirect include
dependencies that should be explicit)).
update NEWS
doc updates re: restart/reload/systemd