Fixes 14234 again

BS3 commits: 46d1bf8eefa5ca00357d7dd8f901ffb5c48c7be2
comment and formatting

BS3 commits: 5670dd8930228af772157b933fe672ca5c5313ca
Badges: fix active styles when in non-anchor `.list-group-item`

BS3 commits: 99148166c5cb4017227c649849c8fe51bb8d7473