create course gorups properly on course import
STUD-1595
Merge pull request #3640 from edx/zub/bugfix/std1595-importcoursepermission

remove redundent code on course import