Refactor students#show.
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.
Fix Grade test assertion.
Cleanup and refactoring.