Use StudenData.grades_for_assignment in syllabus.

Use StudenData.grades_for_assignment in syllabus instead of executing a
query, making a trip to the database.

Closes #457.
Merge pull request #460 from bellotastudios/syllabus

[Reviewed] Use StudentData.grades_for_assignment in syllabus.