course-migration.py script

@nasthagiri 
This seems fragile, but may be adequate for our immediate needs.