New badge system (API)

Track badge counts in Lion under stats :100: :trophy: :star:
Any other smile you'd like to see? @alphasights/developers