Add belongs_to association (grade, team).

See #278, #279.
Update model methods for User and Grade.
Simply team_for_course on User.