Clean up prepare for monitor function.
Add default monitor path as an argument when rewriting command.
make function to locate monitor public.
Update/delete monitor executable as needed.
remove trailing whitespace
Merge branch 'makeflow_monitor_log_fix'

Fixes a bug (reported by Neil Best) in which makeflow did not recover correctly
the log if monitoring was enabled. The problem was that the monitor was being
renamed every time the workflow ran.
Use work_queue_submit_internal at foreman side.
taskid increment after assignment.
Merge branch 'wq_foreman_taskid'

Fix bug where foreman was not using work_queue_wait_internal.
Release workers in wq_reset() instead of just cleaning them up. This is a short
term fix for bug #282.
Release workers when we disconnect from a master. This clears out the data in
the links and sockets and is a short term fix for bug #282.
Clarify the documentation for wq_reset().