CBES-0: set end_replication flag to 1

Change-Id: I2312bdad2e1d3931c009db0d8055a5c934dd1f17
Reviewed-on: http://review.couchbase.org/24848
Reviewed-by: Tommie McAfee <tommie@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>