XD-2180 Adding --commitInterval option to batch jobs

- this allows us to change this depending on data volumes

- default is now 1000 instead of 100, much more performant for average case