Remove band-aid to wake stopped threads.
Modified http_query to use domain_name_cache_lookup.
May help with DNS load issues in HEP.
Modified http_query to use DNS cache.

* ccl/pull/484/head:
  Modified http_query to use domain_name_cache_lookup. May help with DNS load issues in HEP.
Fix incorrect malloc.
Change memcpy to memmove in string_split_quotes

String destinations may overlap. Per Peter Bui from man pages, memmove
allows overlap, and memcpy does not.
Merge branch 'parse_leak'

Fix for Makeflow Parsing Error (#483)
Fixes a boundary case where the WQ master can get stuck if there
are only finished tasks to retrieve and nothing else happening in the system.
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.