Reduce sql queries for groupname tests.

Conflicts:
	cms/djangoapps/auth/authz.py
Use mongo indices for all queries
STUD-1039
loc_mapper memoize all translations