Add belongs_to association (grade, team).

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