bug 1021634 - single transaction for bulk productversion work

@camd r?

This won't speed things up but it'll fix the problem of it sometimes only making some of those 6500+ inserts it's expected to make. Now it'll make 6500 or 0. No more the-first-4000.