Implement bulk operations on the split modulestore.

Can bulk_write_record.active_count be a negative number? If not, wouldn't this always return?