WIP - Add Studio support for cohorted courseware

TNL-652
This was another strange thing I ran into when writing these tests. This was coming from deep in the modulestore. Perhaps @dmitchell could kindly shed some light on this? The exception had a message about mongo not wanting to accept a non-string key.