We're currently defaulting to localhost which makes clouds.yaml/openrc not
portable and complicates TLS configuration. Moving to internal_ip makes it
possible to just copy clouds.yaml around.
Refactored endpoint creation in keystone to use the openstack modules and
to avoid copy-pasting authentication information. As a side effect, it
becomes possible to update existing endpoints.
The use_public_urls variable loses most of its sense now and is replaced
by explicitly checking for public_ip.
Change-Id: I48b5ab9aa656abbddd619df4bed6be9bf3766da5