TRQ-1597. Job array jobs were not getting the ji_commit_done flag
set so queue_route could not route the jobs. Also fixed
a deadlock in queue_route for jobs with the ji_commit_done
flag set to false. We were doing a continue on these jobs
without unlocking them.
Merge branch '4.2.0' of https://github.com/actorquedeveloper/torque into 4.2.0