fix local job couch view due transition change

Job couch view need to be corrected due to the job transition changes from
https://github.com/dmwm/WMCore/commit/86ee49a7842d3a13fb23002e630e2c0dcfee6101#diff-116f4e994bd8276572516a098b601300

@hufnagel please review.
Also I have question about the transition itself. Are the following valid transition, should it done by agent or by user

createpaused -> retrydone
sumbitpaused -> retrydone
jobpaused -> retrydone

Is there any other place needs to be changed with job state transition change?
This fetch needs further testing
Thanks,