MB-11297: Ensure lastSentSeqno < endSeqno
MB-11297: Ensure lastSentSeqno < endSeqno

As we send the complete snap shot, it can so
happen that lastSentSeqno be greater than endSeqno
for an active stream, causing an underflow in
stats collection.
Change-Id: I8a8f0755f988c8c1ef9046020a4702775d2ddd4c
Reviewed-on: http://review.couchbase.org/38353
Reviewed-by: Sundararaman Sridharan <333a3f71d3ad6e01fc953c4fa06bc1f3cd014910@couchbase.com>
Tested-by: Sundararaman Sridharan <333a3f71d3ad6e01fc953c4fa06bc1f3cd014910@couchbase.com>

hisundar/ep-engine,hisundar/ep-engine,couchbase/ep-engine,daverigby/ep-engine,daverigby/ep-engine,daverigby/kv_engine,teligent-ru/ep-engine,teligent-ru/ep-engine,membase/ep-engine,daverigby/kv_engine,hisundar/ep-engine,sriganes/ep-engine,jimwwalker/ep-engine,daverigby/ep-engine,membase/ep-engine,teligent-ru/ep-engine,couchbase/ep-engine,teligent-ru/ep-engine,owendCB/ep-engine,sriganes/ep-engine,jimwwalker/ep-engine,membase/ep-engine,daverigby/kv_engine,daverigby/kv_engine,sriganes/ep-engine,owendCB/ep-engine,owendCB/ep-engine,hisundar/ep-engine,jimwwalker/ep-engine,owendCB/ep-engine,daverigby/ep-engine,jimwwalker/ep-engine,membase/ep-engine,couchbase/ep-engine,sriganes/ep-engine,couchbase/ep-engine