Merge from the 4.2-dev branch for trq-1585: slow job submission leads to pbs_server crash.
Merge from 4.2-dev for trq-1662: "Failed 'qmgr -c' command still returns exit code zero.
TRQ-1815 - Remove dependency from job after array job finishes.