Fix OS-123, support for gc-install-agent on instances with multiple IPs.

Tested on a dual network instance:
f626b14c-fc81-4e94-a1cb-c9bda643e8ef | first test | ACTIVE | 10.0.19.3, 64.x.y.z

The 10.* address is unreachable from us, the 64.* address is a floating IP.

Change-Id: I3eac69858f2111d467faa6b3deb126d5c82d7bb5
Fixing up the connection_type determining logic.

Since the gridcentric manager already has a reference to the
compute manager, we can just query what compute driver it has
picked for itself and build our vms connectoin off of that. This
ensures that we are using the same driver as nova-compute.

Change-Id: I9f2402f87248ef298fc9c67d34cdd97a3de39921
Added launch_index to instance_ref in _copy_instance

This fixes an issue where cloud-init wouldn't run in
launched instances because there was no ami-launch-index
meta-data.

Change-Id: I690297eb4fe1cf57bae509019505448ceb16105c
Merge remote-tracking branch 'origin/stable/essex' into stable/folsom

Conflicts resolved:
	nova/gridcentric/nova/api.py
	nova/gridcentric/tests/test_api.py
	nova/gridcentric/tests/utils.py

Change-Id: I27ef99ff1dc61c3522da8d653a98265ce3291f08