Fix EZP-15449: make eZDBSchemaInt::insertSchema() commit every N rows

(Sending an old pull request again from a different branch, because the original branch got lost in time)