New badge system (API)

Track badge counts in Lion under stats :100: :trophy: :star:
You can remove the `created_at` and `updated_at` lines since you're doing `t.timestamps`.