Fixes comparison master-worker work queue version

It adds a hyphen to the version string, as:
3.8.0-TRUNK.

This makes comparing the version strings easier, rather than
looking for spaces.

This commit also fixes work_queue_catalog, using the correct
task_running field, rather than the number of workers working.