Add applyBatchOrThrow for ContentProviderClient and ContentResolver

This will make our library users capable to get rid of those awful
OperationApplicationException and RemoteException that are not always
necessary.