Implement bulk operations on the split modulestore.

Are L453-454 needed?  It seems like defensive code that could mask issues in the future.  Would `_end_bulk_operation` ever be called without calling `_begin_bulk_operation`?