Filters out duplicate offences for Github formatters

When the same exact message is repeated on the same line,
this change removes the duplicates.  The test was updated
to reflect this changed behavior as well.

Hi @mmozuras!  This PR is now in a branch (sorry I didn't read the contributing guidelines before making the first PR against master) and fixes the failing test.

Just to clarify, you mean a `uniq` check inside the `each_with_object` loop, right?  Or is there a way to use uniq on messages that could detect duplicate messages per line, but not across all messages?