job_coordinator: avoid putting 'ok' as the gen_server state.
job_coordinator: add type information to some internal functions.