Re-factor a bit of req_jobobit(). Move some of the work into sub-functions and add some more unit testing. Also, add the ability for an admin to set a reserved exit code for a job that means the job should be immediately requeued instead of marked complete.