Refactor students#show.
Add 'students' to CourseData.
Use `current_course_data` in views.
Fix error in Students#Index.

Closes #405.
Validate grades on assignment, task, and submission IDs.
Add unique index to grades table.
Test unique index on grade model.
Fix typos.
Fix 'student' refs in grade tests.