Openbadges initial testing

This is the first pass at OpenBadge support. It adds a bunch of badge specific functionality to the API. Currently it has a lot of test and placeholder code, but it's getting close to the point that to continue testing it will need to be live so Mozilla Backpack can resolve the urls.