Fixed instructor hint manager so that it works with mongo courses.

A whole bunch of tests are now broken.