Clean up WQ stats:
1. add new information on tasks (cancelled), workers (joined, idle), reported
resources (bandwidth, memory, etc) to WQ stats.
2. reorganize and group related fields in stats structure.
3. reorganize the format of the log so related fields are grouped together.
4. remove the printing of deprecated fields in the log.
Report total_tasks_cancelled, total_workers_joined, and workers_idle to the
catalog.
Use correct function for measuring bandwidth.
Merge branch 'dpandiar-wqstatsclean'

Fields added: 15 fields - workers_idle, total_tasks_cancelled, bandwidth,
	   total_cores, total_memory, total_disk, total_gpus, min_cores, max_cores,
	   min_memory, max_memory, min_disk, max_disk, min_gpus, max_gpus

	   Fields not deprecated any more: total_workers_joined

	   Field deprecated: workers_ready

	The new fields are also reported to the catalog except for the resources
(bandwidth, total_cores, etc)

	The fields are grouped together based on whether they provide information about
	the tasks, workers, queue, or resources.

	The format of the log printed by specify_log() has been changed to include the
	new fields.
Add missing dependencies so parallel Make works.
Initialize write data to quiet Valgrind.
Add newline, use stderr.
Only add TRUNC/CREAT with WRONLY.
Various error fixes for chirp_benchmark.

* chirp-benchmark-fixes:
  Only add TRUNC/CREAT with WRONLY.
  Add newline, use stderr.
  Initialize write data to quiet Valgrind.
Synchronize with CCL master.