CLC-3967 CLC-4030 Import enrollments in course provisioning; safely add instructor as teacher

https://jira.ets.berkeley.edu/jira/browse/CLC-3967
https://jira.ets.berkeley.edu/jira/browse/CLC-4030

On an unbearably geeky note, the PR has 45% fewer lines of code.