Implement bulk operations on the split modulestore.

Yes, `get_course_index` (the only db call made by `_begin_bulk_write_operation`) will return `None` if the course doesn't exist, and the code handles it appropriately.