Add checks to check for attempted duplicate additions of things in admin panel.

This code should prevent any nasty 500 errors resulting from attempts to add duplicate badges/assertions/people/issuers/authorizations via the admin panel.
Yeah, that would do it.

Probably the best way would be to add a ``tahrir_api.badge_name_to_id(name)`` utility function, and then use it both places.