Fix pointer error in whole_string_match_regex.
Code should look for dollar at end of pattern, not end of text.
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.