Fix insertion on multiple courses

Adding flag to control multiple enrollments on the same course.
Adding restriction to allow class enrollments only on specific classes.
Fix error message on multiple enrollments.
Merge branch 'issue/123_restrict_multiple_class_enrollments'