update awe documentation
Add local_resources
Function to measure locally and set manual options.
Function to measure worker local/foreman global.
Measure just before sending the update to the master
Do not report manual option for disk and memory if less than available.

Disk and memory available to a worker may go under the manual option as
the worker shares resources with other processes. This commit makes the
worker conservative, by reporting the minimum between the total
available and the manual option.
don't use work_queue_pool to start workers
Merge pull request #392 from badi/update-awe-docs

Updates to awe documentation include details and reflect the current state of code.
Merge pull request #400 from btovar/separate_local_global

Refactoring of code related to the measurement of local and aggregate resources at the foreman.
1. Separate the measurement of local resources from the aggregates at the foreman.
2. Fold the measurement of resources into the function that transmits the resource updates to master.
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.
Move sqlite3.c compilation earlier.

This speeds up parallel Make execution.
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.
Add missing headers for Darwin.
Organize system dependent defines.
Fix errors in stat/statfs handling.

    o COPY_CSTAT macro had a bug where it could not be used as a statement, e.g.
        if (...)
            COPY_CSTAT(...);
    o Unify statfs copying behavior into a macro like with COPY_CSTAT.
    o Rename COPY_* for clarity.
    o Use consistent names for stat buffer names (info and linfo).
Correct behavior of stat/stafs on Chirp LFS.

* ccl/pull/427/head:
  Fix errors in stat/statfs handling.
  Organize system dependent defines.
  Add missing headers for Darwin.
wq_graph fix: Correct variable in error message when file not found