Refactorise Keystone resources management
Refactorise Keystone resources management

Refactorise the code of Keystone resources management with backward
compatibility since we don't modify the unit tests.

Change-Id: I34f0f55a9a4e3873d4f988c311bdcbd54b33e459
Implements: blueprint common-openstack-identity-resource

ramsateesh/puppet-trove,openstack/puppet-trove,redhat-cip/puppet-trove,openstack/puppet-trove,egafford/puppet-trove,gwdg/puppet-trove,redhat-cip/puppet-trove,gwdg/puppet-trove,rdo-puppet-modules/puppet-trove,egafford/puppet-trove,rdo-puppet-modules/puppet-trove,ramsateesh/puppet-trove,openstack/puppet-trove