cluster: be resilient about no replicaSet value.

If we think we are connecting to a sharded cluster, (due to no
replicaSet being specified) and the first node in the seed list is not
a mongos (isdbgrid), then change modes to replicaSet and reconnect.

Fixes CDRIVER-312.