Add a new field to optionally track the originating event for a badge.

This is for fedora-infra/fedbadges#18
Actually check that the link got stuck in the db.
Merge pull request #31 from fedora-infra/feature/tracking

Add a new field to optionally track the originating event for a badge.