Simplified a few util functions
Simplified a few util functions

ntt-sic/keystone,cernops/keystone,mahak/keystone,citrix-openstack-build/keystone,cernops/keystone,sileht/deb-openstack-keystone,rodrigods/keystone,mahak/keystone,kwss/keystone,maestro-hybrid-cloud/keystone,klmitch/keystone,ntt-pf-lab/backup_keystone,JioCloud/keystone,jamielennox/keystone,cbrucks/Federated_Keystone,ntt-pf-lab/backup_keystone,cloudbau/keystone,dsiddharth/access-keys,nuxeh/keystone,reeshupatel/demo,pvo/keystone,dsiddharth/access-keys,derekchiang/keystone,cbrucks/keystone_ldap,ilay09/keystone,openstack/keystone,rushiagr/keystone,ajayaa/keystone,ajayaa/keystone,himanshu-setia/keystone,JioCloud/keystone,admiyo/keystone,savi-dev/keystone,vivekdhayaal/keystone,rushiagr/keystone,savi-dev/keystone,rushiagr/keystone,townbull/keystone-dtrust,cbrucks/Federated_Keystone,townbull/keystone-dtrust,rajalokan/keystone,admiyo/keystone,himanshu-setia/keystone,mahak/keystone,promptworks/keystone,derekchiang/keystone,jumpstarter-io/keystone,rickerc/keystone_audit,MaheshIBM/keystone,promptworks/keystone,pvo/keystone,jamielennox/keystone,kwss/keystone,reeshupatel/demo,MaheshIBM/keystone,rajalokan/keystone,maestro-hybrid-cloud/keystone,sileht/deb-openstack-keystone,cbrucks/keystone_ldap,kwss/keystone,dsiddharth/access-keys,blueboxgroup/keystone,openstack/keystone,ging/keystone,cbrucks/Federated_Keystone,idjaw/keystone,sileht/deb-openstack-keystone,blueboxgroup/keystone,dstanek/keystone,klmitch/keystone,roopali8/keystone,reeshupatel/demo,roopali8/keystone,ntt-sic/keystone,openstack/keystone,ilay09/keystone,promptworks/keystone,cbrucks/keystone_ldap,citrix-openstack-build/keystone,ntt-sic/keystone,rajalokan/keystone,townbull/keystone-dtrust,idjaw/keystone,vivekdhayaal/keystone,ging/keystone,nuxeh/keystone,dims/keystone,dstanek/keystone,jumpstarter-io/keystone,citrix-openstack-build/keystone,admiyo/keystone,dstanek/keystone,jonnary/keystone,jumpstarter-io/keystone,derekchiang/keystone,ilay09/keystone,jonnary/keystone,savi-dev/keystone,takeshineshiro/keystone,rickerc/keystone_audit,nuxeh/keystone,takeshineshiro/keystone,UTSA-ICS/keystone-kerberos,rodrigods/keystone,cloudbau/keystone,UTSA-ICS/keystone-kerberos,pvo/keystone,vivekdhayaal/keystone,ntt-pf-lab/backup_keystone,rickerc/keystone_audit,dims/keystone,cloudbau/keystone