Error handling for user sync
This release adds better error handling during processing of actions in batches: when the server response is not understood, the client doesn't throw except at the end of the batch, and the error thrown contains the usual return statistics from the batch processing.