Badge awards

This adds badge awards, and modifies ROA to allow for more dynamic resource URL construction (to allow awards to be fetched by badge and by user)
No, wait, I think I know what's going on now. As you were.