Add OS_ENDPOINT_TYPE to glance module

* Ensure glance client looks for the OS_ENDPOINT_TYPE when connecting

Fixes #671

Change-Id: I2070db0bd91eee9f159784f07f3a30d4ae2d9211
Merge "Add OS_ENDPOINT_TYPE to glance module"