add variant header filed
1. change back to strict entire matching from partial matching for non-header prevention
fix test
1. add unit test
2. fix test
3.change msg
1. reduce code
2.rebalance the "true" and "false" testing portions
move private method to the bottom
[2637]instructorCourseEnrol: accept variant column headers

fixes #2637