(maint) Fix PE PuppetDB Accp Tests

Prior to this commit, the puppet enterprise puppetDB acceptance tests
did not work on Puppet Enterprise. This commit has
converted the open source puppet tests to work on both open source and
puppet enterprise.
Merge pull request #531 from briancain/maint/master/fosstests_for_pe

Maint/master/fosstests for pe