Add mechanism for job_submit plugin to generate error msg for command

Add mechanism for job_submit plugin to generate error message for srun
salloc or sbatch to log. New argument added to job_submit function in
the plugin.
bug 278