Feature/760 dmlwrapper chunking

Fix for #760. (Pull request https://github.com/SalesforceFoundation/Cumulus/pull/857 should be accepted before this one.)