Fix portability problems on Darwin.
Add some helpful debug code.
Other minor fixes (e.g. remove redundant newlines in debug messages).
Bump to 4.1 TRUNK
Cleaned up and simplified the capacity, efficiency, and idle computations.
Simplify default define.
Add const qualifier.
Consolidated status reporting to both catalog and client into queue_to_nvpair.
Removed dependency of work_queue.c on work_queue_catalog.c, which is now solely used by work_queue_pool.c
Distinguished two confusing names:
q->master_link is the tcp connection on which the queue is listening.
foreman_uplink is the tcp connection that connects the foreman to a superior master.
Fixed bug that caused incorrect resources to be reported when
zero workers are connected.
Fixed another instance of confusion between master_link and foreman_uplink.
xml boilerplate
format individual nodes
display child->parent relationships
create xml for stdout redirection if necessary
chop off the stream redirection portion of a command

The nested string manipulation is ugly, but no worse than a bunch of
temporary variables.
Be nice and provide a detailed error message when multiple redirects are found.

Before the dax export would happily create commands referring to files like "&" and ">".
Merge branch 'rampantmonkey-dax_export_again'

Adds option to Makeflow which exports the workflow in XML following the DAX
Schema from Pegasus. (see -e option in Makeflow).
Fixed inconsistency re total_worker_slots.
Rewrote the transfer timeout computation, to be based primarily
on a factor times the previously observed network bandwidth.
Cleaned up the debug output to use consistent formatting and units.
change makeflow bundle directory output format

This is the start of the workflow linker.

__Overview__

In this set of changes the linker extracts the dependencies from
Makeflow and Python files.

The linker starts with a Makeflow workflow description and recursively
traverses the dependency tree. Once all of the dependencies are found
the linker creates a packaged version of the original workflow. This
packaged version contains all of the necessary files to run
successfully.