Redo how /leaderboard works to make it faster.

- Only pull info we need, and do so in only one query.
- Update template to reflect the new data structures.