remove reference swap entirely in favor of deep copy of batch object with synchronized clear. Addresses USERGRID-1481
Merge branch 'master' of github.com:apigee/usergrid-stack
fixed typo from last commit