Shared badges

Users no longer have to refresh the page to see their shared/unshared badges under 'Class achievements'.

Closes #379.