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)
Nit: indentation