Fix the modelizing loop to dynamically batch objects

* This ensures stub-lists are modelized quickly without causing blocking
  due to complex object modelization.
* Also adds startBatch/stopBatch around modelization
Merge pull request #1112 from reciprocity/feature/fix-modelize-loop

Fix the modelizing loop to dynamically batch objects