Add support for configurable Glance endpoint type

Fog uses by default the "adminURL" endpoint type for Glance, so made it configurable (and use "publicURL" by default).