De-duplicate reports on the client.

This fixes some problems with infinite loops spamming Bugsnag,
and helps keep the occurrences count more relevant as a metric
of importance.