Cleaned up and simplified the capacity, efficiency, and idle computations.
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.
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.
Merge pull request #202 from dthain/work-queue-cleanup

Work Queue Cleanup