Adds an option to specify the glance endpoint type

Some environments that utilize an SSL terminator with a self-signed
certificate can use the publicURL without getting certificate
verify errors.  This allows using the internalURL with in my case
is HTTP and not HTTPS.

Closes issue: #8057
Merge branch 'bug/8057' of https://github.com/ericwb/ansible into ericwb-bug/8057
Merge branch 'ericwb-bug/8057' into devel