[backend] add workerid and jobid verifiers for convenience

Use them in the repserver, also make workerid an optional extra
argument for all worker calls to ease debugging.