feat: custom conflict error handling (#2446)
feat: custom conflict error handling (#2446)

* when the conflict happens, it shouldn't immediately respond with failure. It should send only for documents which finished processing. else wait and send response when it is done/
* kept separate array and added to it, since removing requires search through algorithm or shifting.
* added functions to avoid the same repetition
couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios,couchbase/couchbase-lite-ios