PM-704 the dag parsing code in monitord was not robust enough. because
of this certain pre script lines in dag were detected as job lines (
because they -Ddagman.maxjobs in there). Fixed that.
PM-733 sanity check on error in pegasuslite exitcode.
PM-704 while parsing the dag, the regex needs to applied to the
original line parsed, not the one that is lowercased.