Add job completion detection when PBS does not put jobs into C state

Default builds and configurations of PBS do not put jobs into C state.  This commit adds detection for this, and adds logic in order to count  the job as completed if it has disappeared from the qstat list (using logic borrowed from globus)