Add support for user partitioning based on cohort.

JIRA: TNL-710

IMPORTANT: this commit converts the course_groups
package to using migrations.  When deploying to an
existing openedx instance, migration 0001 may fail
with an error indicating that the CourseUserGroup
table already exists.  If this happens, running
the 0001 migration first, with the --fake option,
is recommended.  After performing this step,
remaining migrations should work as expected.
Merge pull request #5949 from edx/jsa/cohort-partition-scheme

Add support for courseware partitioning based on cohort.
Add group_access field to all xblocks

TNL-670