JCBC-207: Correct Reconnect Logic on Failover

This changeset makes sure the reconnect logic works even when
failing over the node which is bound as the streaming connection.
A test has been added to verify the threshold logic of the
CouchbaseConnectionFactory works as expected.

Change-Id: I314e157b05f77f795d262c234f91d8e1f1c357cc
Reviewed-on: http://review.couchbase.org/23801
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Tested-by: Michael Nitschinger <michael.nitschinger@couchbase.com>