Grouping objects by type in DMLWrapper to avoid the "Cannot have more than 10 chunks in a single operation. Please rearrange the data to reduce chunking". We had to make ObjectsToUpdate a list to force it to keep the order.
There was one more file we needed to update.
We probably need a catch-all for all other object types in the DMLWrapper grouping.
To avoid the "Duplicate id in list" error and fix the tests.
Moving the removal of duplicates before the grouping, otherwise we go back to having the chunking error (because a Set doesn't respect the order).
Test for chunking issue.
Merge dev into feature/760-dmlwrapper-chunking
Merge dev into feature/760-dmlwrapper-chunking
Merge branch 'dev' of https://github.com/SalesforceFoundation/Cumulus into feature/760-dmlwrapper-chunking
Merge pull request #858 from SalesforceFoundation/feature/760-dmlwrapper-chunking

Feature/760 dmlwrapper chunking
Merge dev into feature/828-smartystreets-settings-labels