Added Support for courses in Preview mode that have been taught previously and are about to reopen

Hi, although potentialy useful to others, the code is not really tested (it worked for this class: https://class.coursera.org/nlp/lecture/preview), so feel free to test and edit.