fix setting up of endpoints

each chef cookbook uses a different attribute scheme for storing the
respective openstack service's protocol and scheme so we have to get
those differently to set in the openstack-common cookbook endpoints

Fixes bnc#889353
Please note that there's still an attribute for this, though.