add support for different storeconfigs backends

needed for puppet-puppet to support defining puppetdb as storeconfigs_backend