Add team/grade association.

@allspiritseve 

fixed `team_for_course(course)'.

Last request (#280) got closed due to a rebase issue; much cleaner to push `:team-grades` and open a new one.