Add an option to only display distinct commits in tickets.

This uses the value 'distinct' field in the github payload to determine
if the commit has been seen before.
Implements issue #2