Update notes for submitted changes

* Convert failed_job into an object
Update notes for submitted changes

* Map failed jobs to bugs in gerrit comment