Comment a 'Failed' result for build/test failures.

Changes our Gerrit comment format so we only comment a 'FAILED' when
either a build or test failure occurs. Also, slighly improves the
formatting of the Gerrit comments.