Gittrac #1782:  initial (not fully functional) version -- having trouble
getting the schedd address -- following the example of condor_qedit
doesn't work, I think because the daemoncore stuff in DAGMan has already
created a Daemon object...  (Also has a bunch of extra debug code
in some of the daemon code.)
Gittrac #1782:  got this to work now (still needs cleanup and removal
of lots of debug code).  The problem was that for DAGMan we're passing
the command-line argument "-l ." (so that we don't cd into the regular
LOG directory) -- but that was goofing up the SCHEDD_ADDRESS_FILE and
SCHEDD_DAEMON_AD_FILE values inside DAGMan, so DAGMan wasn't able to
correctly get the address of the schedd.  The fix is to grab those
values in condor_submit_dag and pass them into DAGMan via environment
variables -- that overrides the values we get from the config file(s),
which are goofed up by the -l flag...
Gittrac #1782:  got rid of most of the debug code.
Gittrac #1782:  mostly cleaned up -- just need a few more error checks,
etc.  We also print out the node status, and update the classad, at
startup as soon as we have parsed the DAG and updated node status if
there is a rescue DAG.
Gittrac #1782:  all cleaned up except for a couple of things I need
to check; still needs documentation.
Gittrac #1782:  added job_dagman_classad test to test this.
Gittrac #1782:  added job_dagman_classad test to test this.  (Forgot
to git add the latest versions of some stuff the first time around.)
Gittrac #1782:  Finished code cleanup, updated the manual (version
history plus details).
Gittrac #1782:  Oops -- one more cleanup.
Gittrac #1782:  Minor fixes after code review by Nathan.
Merge branch 'V7_9-gittrac_1782-branch' into V7_9_5-branch
Merge branch 'V7_9_5-branch' of /p/condor/repository/CONDOR_SRC into V7_9_5-branch