Various improvements to debug library.

    o Modularize debug output systems and add functionality to log to the syslog and new systemd journal (-o :syslog and -o :journal).
    o Add D_FATAL, D_ERROR, D_INFO.
    o debug_config_file now determines the absolute path so the program may safely chdir.
    o Parrot debug messages for children now show the child pid explicitly:
        On syslog or systemd journal:
            Mar 20 21:04:55.812447 neverwinter parrot_run[15063]: <child:15064> local: write 7 0x0x7fd7a03b6000 65 16
        On regular file:
            2014/03/20 21:58:28.46 parrot_run[26162] <child:26163> local: write 7 0x0x7f2a8f02f000 10 334
    o Allow chirp_tool to log to a file.
    o On fatal(...), dump core via SIGQUIT.
    o Move WQ hack of renaming the debug file to debug.[ch] as debug_rename.
Add support for :stdout.
Log PID.
Do not require immediately opening the syslog.
Go back to using SIGTERM to terminate.

Most of the uses of fatal do not require dumping core. Applications can instead
use:

    debug(D_FATAL, ...);
    abort();

Although, finalizers registered for fatal will not be called.
Move search to basic function.

Now all Chirp FS can be searched.
Move search to basic function.

* ccl/pull/429/head:
  Move search to basic function.
Add support for listening on an interface address.
Modularize debug output and other various fixes.

* ccl/pull/426/head:
  Go back to using SIGTERM to terminate.
  Do not require immediately opening the syslog.
  Log PID.
  Add support for :stdout.
  Various improvements to debug library.
Explicitly reopen the debug stream via the API.

Currenly, only daemon.c cares about this function.

Also fix a bug causing a SEGFAULT if pidfile is the empty string.
D_ALL is not a valid debug level (it is a selector).
Move catalog defaults to catalog_query.h.

Also move WQ specific defines to WQ.
Function to count inuse in place
Count inuse (allocated) in place
Accumulate inuse as other categories
Use *.inuse instead of *.allocated