querycmd: Discover indexer ports from cluster address

querycmd will now accept -server=cluster_address
Indexer admin port and scan port will be discovered
automatically by using cluster endpoint.

Change-Id: I9cabcab1124c9a18d2a3bdbd39f1c242f16d8be9