Allow last_seq through doc_ids check

BugzID: 17898
BugzID: 17840
Merge pull request #23 from cloudant/17898-docids-replication-crashes-lastseq

Allow last_seq through doc_ids check

BugzID: 17898