New badge system (API)

Track badge counts in Lion under stats :100: :trophy: :star:
:dancer: :dancer: :dancer: :dancer: :dancer: :dancer: :dancer: :dancer: :dancer: :dancer: 

:star: :trophy: :100: