Fix E18 module qstat return and reset error jobs.

Fix return string from "qstat -j" which is different from the gridka
implementation. Debug reset error jobs.