Added resubmit ability, corrected qcancel

- the job will now stop if target_chemtime is the same as chemtime