Implement bulk operations on the split modulestore.

It can't be negative. I'm not sure how it would ever get negative as this is the only decrement and the `== 0` protects it from the `-1`. He's counting passing up through nested transactions until he gets to the root.