New badge system (API)

Track badge counts in Lion under stats :100: :trophy: :star:
We could also give a fixed amount of points so that small PRs would get a huge boost.