instructorCourseEnrol: accept variant column headers #2637

for #2637 
Write unit tests for this method. Get rid of `isMatching` method if it is not used any more.