PM-793 the moving of parsing the job.out and job.err files at post
script termination, had the side effect of the job_instance table not
being populated fully. this is because, job_instance table is
populated when a JOB_SUCCESS or JOB_FAILURE event is encountered. In
that case, where jobs have postscripts this means that when the
JOB_SUCCESS event is encountered, we have not parsed the kickstart
output files.

This fix, involves deferring the sending of JOB_SUCCESS and
JOB_TERMINATED events until a post script has terminated.
To check if  DAGMan was aborted by the user check for line Received
SIGUSR1
If dagman fails because of a job failing, then also it writes out
Aborting DAG... in the dagman.out file.
Merge branch '4.4'