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
Merge pull request #20 from mapleoin/endpoints

fix setting up of endpoints