MDL-39983 - Add badge actions to the course badges view

Modifies the badge/renderer render_badge_collection method to print
the badges actions. This provides a small usability improvement as
users will not have to scroll down to the settings block to perform
badge actions