Fix toggle of shared badges.

The earned badges controller was passing the `earned_badge_id` to the
update query which as expecting a `badge_id`.

Closes #482.
Merge pull request #483 from bellotastudios/toggle

Fix toggle of shared badges.