add job_find_by_name()

the UI operates on names so introduce them as mandatory parameter, make
them unique and add a function to get the job id according to name.
Needs db reinit.