(PDB-898) Add factset hash to replace-facts!

This commit associates a hash of each factset with the metadata of the factset
to allow us to easily tell if fact values have changed.
(PDB-880) Errors on PDB shutdown

This patch bumps activemq to 5.7.0.  This seems to prevent two errors that
would sometimes occur on shutdown, one where the broker was stopped before its consumers
were removed and another where KahaDB batching fails to reset due to the PageFile
not being loaded.
Merge pull request #1132 from wkalt/ticket/master/pdb-898-replace-facts-factset-hash

(PDB-898) Add factset hash to replace-facts!
Merge pull request #1137 from wkalt/ticket/master/pdb-880-shutdown-exceptions

(PDB-880) Errors on PDB shutdown
(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.
(PDB-1012) WIP Make spec tests use correct Puppet version

This patch parameterizes the branch of puppet our Gemfile installs so that we
can use specific puppet versions in our spec tests.
(maint) This fixes some broken links in our commands documentation.
Merge pull request #1141 from wkalt/ticket/master/pdb-911-routing-changes

(PDB-911) change to TK WebroutingService
Fix typo in the fact-contents endpoint docs
Merge pull request #1146 from wkalt/ticket/stable/pdb-1012-unit-tests-on-master

(PDB-1012) Make spec tests use correct Puppet version
Merge pull request #1151 from wkalt/maint/fix-command-doc-links

(maint) This fixes some broken links in our commands documentation.
(docs) JVM not Java

Switch the word 'java' here for 'jvm' since we are talking about the VM
not the language in this case.
(PDB-995) retire to_pson_data_hash in spec tests to conform to latest puppet

This commit changes calls of to_pson_data_hash to to_data_hash so that our tests
pass on the current master branch of puppet.
(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 #1153 from wkalt/ticket/stable/pdb-995-pson-retirement

(PDB-995) retire to_pson_data_hash in spec tests to conform to latest pu...
Merge pull request #1154 from wkalt/ticket/master/pdb-971-retire-facts-strip-internal

(PDB-971) retire facts.strip_internal