MB-9124: Use persistence cursors last chk id to mark persisted items

Change-Id: Iac5c53b8594bd4e1611b164a7c925e1acd1e7d6c
Reviewed-on: http://review.couchbase.org/29225
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>