Refactor: libcrmservice: clean up upstart_job_by_name()
Rename and reformat per current guidelines, and improve log messages.
Also, ensure method return is non-NULL before attempting to strdup() it, and
handle the possibility of NULL in the caller.