edx/edx-platform — pull request #1901 by dmitchell (2013-12-09 21:38:05+00:00)
Title: Reduce sql queries for groupname tests.

@cpennington @adampalay fastest part of the 4 stage fix. Use sql where in instead of individual queries for the groups.