RavenDB-2842 DocumentLock should be taken into account when processing replicated documents + processing replicated documents in batches
Merge pull request #1503 from ppekrol/RavenDB-2842

RavenDB-2842 DocumentLock should be taken into account when processing r...