Memoize badge data in StudentData.

Closes #522.
Merge pull request #526 from bellotastudios/memoize-badges

Memoize badge data in StudentData.