Factored out work_queue_process to represent a running task.
Include cleanup.
First pass at simplifying work_queue_pool.c
Added options for scratch dir and password file.
Cleaned up connect loop for work_queue_worker, so that it simply
connects to the list of masters that match the project name pattern.
Simplified handling of catalog queries in work_queue_pool and friends;
now we simply pass back the relevant nvpairs to callers.
Fixed sense of caching check.
Fixed handling of password file.
makeflow and sand depend on work_queue_catalog.c, so put it back into libwork_queue.a
Cleaned up and documented handling of timeouts.
Check for success of reading back project name.
fprintf(stdout) -> printf()
Added basic stdout messages so that you can see something happening without debug output.
Made capacity consideration an option.
Moved killing of local task into work_queue_process.c
Combined kill_task and do_kill.
Factored kill_all_tasks into calls to do_kill.
Removed experimental terminate boundary.
abort_worker -> workspace_cleanup to clarify that it does not actually
perform the abort, but does the cleanup after the connection is lost.
disconnect_master should only be called once at the end of serve_master_by_hostport.