(PDB-897) Create new message listener TK service

This commit refactors our current command code to allow message
listeners to be register via TK service on startup. The new message
listener service handles spawning threads to listen to the queue and the
plumbing of pulling a message off the queue, putting it back on in the
case of failure etc. The new message listener service consumes the MQ
config from the PuppetDBServer service. The functionality of the server
service is the same, but previously didn't expose a protocol. It now
needs to expose one so that the message listener service can be sure it
has started before it starts. The code handling the commands registers
itself with the new message listener service but is unchanged beyond
that.
(maint) Allow factset hashes to be nil in db

This is necessary for factsets to function after the PDB-898 migration,
since existing factsets are not being hashed.
Merge pull request #1140 from wkalt/maint/make-factset-schema-nullable

(maint) Allow factset hashes to be null in db
Merge pull request #1138 from senior/ticket/master/pdb-897-tk-message-listener2

(PDB-897) Create new message listener TK service
(PDB-911) change to TK WebroutingService

This commit switches us from the TK WebserverService to the TK
WebroutingService. This will allow us to attach commercial-only routes by
modifying the config file before consumption by TK.
Merge pull request #1141 from wkalt/ticket/master/pdb-911-routing-changes

(PDB-911) change to TK WebroutingService
(PDB-971) retire facts.strip_internal

This patch adds a maybe_strip_internal method to Puppet::Node::Facts::Puppetdb
that will call Facts#strip_internal if the method exists, but Facts#values if
not. This will allow our terminus to remain backwards compatible when Puppet
retires the strip_internal method and the _timestamp fact.
Merge pull request #1154 from wkalt/ticket/master/pdb-971-retire-facts-strip-internal

(PDB-971) retire facts.strip_internal
(PDB-663) Convert PuppetDB to Ezbake build system

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) fix up ssl-setup stuff

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) deal with the termini being renamed

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) remove use of sbin and legacy sub commands

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) cleanup and actually show logs upon startup failure

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) ensure we install the hsqldb dir, and revert curl_with_retries change

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-663) Ensure /var/lib/puppetdb/db dirs are created

Signed-off-by: Ken Barber <ken@bob.sh>