add a new option flag "-d", which enables debugging output. Compile all
of the code that used to be enabled with -DDEBUG unconditionally. The
amount of extra code is negligable, and all of the tests to check if
debugging is enabled were done regardless of -DDEBUG anyway. Adjust
SYSLOG() to DTRT if debugging is not enabled.