MB-35900 revise alternate address for external network
MB-35900 revise alternate address for external network

cbq shell connected to 8091 port

netwrokcfg "external" look the query nodes in AlternativeAddress
networkcfg "default"  look the query nodes in internal address
networkcfg "auto"     given host is in Alternative use external else default

once quernodes decided cbq shell will do roundrobin querynodes.

Change-Id: If720ad4441c2f405c0c9a639bd8a237d47828ecc
Reviewed-on: http://review.couchbase.org/114643
Reviewed-by: Sitaram Vemulapalli <8d86a491dcdf321bac78bef141a8229a59bf9211@couchbase.com>
Reviewed-by: Marco Greco <63a03f5b14a94e811cf577897911ec77986e074a@couchbase.com>
Tested-by: Chang Liu <b5a94d3deca53a9ae51f2ae17499ea1a8398acd4@couchbase.com>

couchbaselabs/godbc