Ensure db and db users created before validation
Ensure db and db users created before validation

Ensure that for PostgreSQL backends, the database validation functions
are not run until the initial database creation and user role creation
has been completed.

Closes-Bug: #1298605

ghoneycutt/puppetlabs-puppetdb,nickchappell/puppetlabs-puppetdb,BioIQ/puppetlabs-puppetdb,danjung/puppetlabs-puppetdb,cristifalcas/puppetlabs-puppetdb,puppetlabs/puppetlabs-puppetdb,roman-mueller/puppetlabs-puppetdb,BioIQ/puppetlabs-puppetdb,redhat-cip/puppetlabs-puppetdb,jonkelleyatrackspace/puppetlabs-puppetdb,roman-mueller/puppetlabs-puppetdb,digitalmediacenter/puppetlabs-puppetdb,tdevelioglu/puppetlabs-puppetdb,wkalt/puppetlabs-puppetdb,mullr/puppetlabs-puppetdb,simp/puppetlabs-puppetdb,dealnews/puppetlabs-puppetdb,BioIQ/puppetlabs-puppetdb,kbarber/puppetlabs-puppetdb,dealnews/puppetlabs-puppetdb,digitalmediacenter/puppetlabs-puppetdb,mullr/puppetlabs-puppetdb,johnduarte/puppetlabs-puppetdb,ghoneycutt/puppetlabs-puppetdb,trevor-vaughan/puppetlabs-puppetdb,simp/puppetlabs-puppetdb,mattiasgeniar/puppetlabs-puppetdb,trevor-vaughan/puppetlabs-puppetdb,nickchappell/puppetlabs-puppetdb,tdevelioglu/puppetlabs-puppetdb,Puppet-Finland/puppetlabs-puppetdb,redhat-cip/puppetlabs-puppetdb,johnduarte/puppetlabs-puppetdb,kbarber/puppetlabs-puppetdb,jonkelleyatrackspace/puppetlabs-puppetdb,mattiasgeniar/puppetlabs-puppetdb,cristifalcas/puppetlabs-puppetdb,puppetlabs/puppetlabs-puppetdb,Puppet-Finland/puppetlabs-puppetdb,ajroetker/puppetlabs-puppetdb