Added batching for pulling changes

Made the limits properties of the SyncSession class (tweaking them can
have a huge performance impact)