clean badges template
fix dont show instance badge settings for instance admins
fix badge add return_url
increase h2 top margin
Merge pull request #650 from xi/feature-refactor-badge

refactor badges