XBlock for issuing and displaying badges