(PDB-3304) Paramterize test URL functions with base-url
(PDB-3304) Paramterize test URL functions with base-url

In extensions tests we often need to have multiple PuppetDBs and can't
rely on *base-url* to be correct. This commit parameterizes the URL
functions for the HTTP test client code to allow either the *base-url*
var or the base-url

puppetlabs/puppetdb,mullr/puppetdb,puppetlabs/puppetdb,rbrw/puppetdb,rbrw/puppetdb,mullr/puppetdb,mullr/puppetdb,rbrw/puppetdb,mullr/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,rbrw/puppetdb,rbrw/puppetdb