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.