Moved logic to calculate restart vector for stream.

to go-couchbase library.
Change the load balancing logic for indexer connections.