mysql::database::populate: populate the DB only if it's empty

refs #6842
pgsql::database::populate: populate the DB only if it's empty

refs #6842