Fix retry logic for batch import errors
Another shot at cleaning up failure logic.  If any records get created (and not rolled back), make sure they're reported
Merge pull request #534 from hudmol/batch-import-retries

Fix retry logic for batch import errors