move course_groups from common to openedx.core
update db_cache to fix acceptance tests
address PR feedback, try to make tests more readable