Link up ticket refs and branch names when looking at a commit.

Also, highlight using `color` when commit messages don't have a ticket ref.