Simplify code by keeping memory/disk in megabytes.

Memory was kept in kilobytes, and disk in megabytes, but as a double.
Read cores/memory/disk resources from environment.

The environment variable CORES, MEMORY, and DISK, are read from the
environment and set for the default resource category in Makeflow.
Monitor reads memory/disk/cores limits from env.

If the environment has the variables CORES, MEMORY, or DISK, the monitor
uses their values as resource limits.
Makeflow reads cores/disk/resources from file.

Tasks in makeflow can be group with the variable RESOURCES_CATEGORY as
follows:

RESOURCE_CATEGORY=category_one
DISK=100
CORES=3

output1: ...
output2: ...
output3: ...

RESOURCE_CATEGORY=some_other_category
DISK=100
CORES=3
MEMORY=3

output4: ...

The value of the resources apply to the name of the category last
assigned to RESOURCES_CATEGORY, therefore, the following is equivalent
to the above:

RESOURCE_CATEGORY=category_one
DISK=100
CORES=3

RESOURCE_CATEGORY=some_other_category
DISK=100
CORES=3
MEMORY=3

RESOURCE_CATEGORY=category_one
output1: ...
output2: ...
output3: ...

RESOURCE_CATEGORY=some_other_category
output4: ...

One thing to consider, for now, is that resources are applied to the
category when submitting to the queue, and that a category uniquely
identifies a set of resources. Therefore, for:

RESOURCE_CATEGORY=some_category
CORES=3

output: ...

RESOURCE_CATEGORY=some_category
CORES=1

The rule will get CORES=1, rather than CORES=3, which might be somewhat
confusing, and should be changed in the future (or at least produce a
visible warning).
Task categories as wq batch options.

Converts a category definition to:

--cores CORES --memory MEMORY --disk DISK

if the resources were defined for such category and if the batch system
is work queue, and then prepends BATCH_OPTIONS with this string.
This is prepended, rather than appended  to allow an explicit value
to BATCH_OPTIONS to override the values.
Fixes a rather serious bug where the chirp_server fails to function when
the root is a relative path.
Set values to NULL for safety.
Test suite now exits properly.
Fixed debug message qualifiers.
Added missing callsite argument.
Correctly load callsite argument.
Add missing ACL files for text fixture.
added (-c cores) to sge_submit_workers, expliclty recognize --cores all for wq_worker
fix strncmp arguments, have work_queue_worker start as many tasks as it can instead of one per loop in work_for_master()
fixed segfault, adapts the length of time the worker will wait for activity on the link before checking for a missed child completion signal
Changes RESOURCE_CATEGORY to CATEGORY in makeflow.

Now we say:

CATEGORY=some_name
output:....

rather than:

RESOURCE_CATEGORY=some_name
output:....
Consolidates display_mode options

- Changes #defines for enums when declaring unique numbers for long options.
- Removes -Dc and -Ds, instead creating two long options
  --dot-merge-similar and --dot-proportional.
- Dispatches all display_mode options from a single switch statement.
Avoid waiting on a message when workers are available and tasks are in the ready list
Resolves issue #22
Merge branch 'master' of github.com:cooperative-computing-lab/cctools
Incorporates some comments from CRC demo.

Mostly it rearranges columns of the time series, and in the summary it
renames num_processes to total_process and re-renames max_processes to
max_concurrent_processes.