Use PuppetDB instead of Activerecord

Use the new PuppetDB terminus instead of the old deprecated Activerecord
terminus for storeconfigs.

Fixes #3