Fix Setting RestartTS In Failure Cases

Stream may get connection failure before any flush or stream begin.
In such cases restart TS for stream needs to be set properly.

Change-Id: I0099bd95f85abb0e955d84a450fc66c8578582b1
Reviewed-on: http://review.couchbase.org/43797
Reviewed-by: Pratap Chakravarthy <prataprc@couchbase.com>
Reviewed-by: Deepkaran Salooja <deepkaran.couchbase@gmail.com>
Tested-by: Deepkaran Salooja <deepkaran.couchbase@gmail.com>