link git sha in commit comments to the gerrit review

Make gerrit link any git sha that appears in the commit comments
to a gerrit review page.

Fixes bug 904298

Change-Id: I5cd74bef5510c8dbf3891dcfa3086a141e445f0d
Merge "link git sha in commit comments to the gerrit review"