Adds resource monitor utilities to dttools.

Adds a function to locate and copy an executable of the resource
monitor to the current working directory, and a function to wrap
a command line with the resource monitor.

These functions were originally in makeflow.c, but they are also
needed when monitoring directly with work queue.