DOCUMENT-211: Switched greater than / less than operators

The greater than or equal to (>=) and less than or equal to (<=) signs were swapped. Now they aren't.
Merge pull request #1136 from jbondpdx/docfix

DOCUMENT-211: Greater than or equal to and less than or equal to swapped
(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.
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.
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...
(PUP-3512) Use new Profiler API

Change the `profile` function in PuppetDB to use the new Puppet
Profiler API in preparation for removing the old API from Puppet.
Modify all calls to the `profile` function in PuppetDB to pass in
a metric ID.
Merge pull request #1157 from fpringvaldsen/PUP-3512-new-profiler-api

(PUP-3512) Use new Profiler API
(PDB-1029) Provide an arity detection for backwards compatibility for profiling

This patch fixes the arity problem on the oldest version of Puppet we support
by adding a compatibility layer that uses the correct argument list based
on the methods arity available.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-1017) Fix node tests hiding failures

There were several tests that were failing in v4 that were being hidden
by skipping over the assertions when the resulset was nil/empty. This
commit adds an explicit result count check and fixes the tests that were broken.
Merge pull request #1161 from senior/ticket/master/pdb-1017-node-tests-broken

(PDB-1017) Fix node tests hiding failures
Merge pull request #1160 from kbarber/ticket/stable/pdb-1029-fix-profile-compat

(PDB-1029) Provide an arity detection for backwards compatibility for profiling
PuppetDB: broken links in connect_puppet_master

Fixed /api/query/v3/events.html
and /api/query/v3/events.html
Fixes needed for running tests against puppet's master branch

Specifically this commit

 - Adds specific checks for puppet 3 when loading storeconfig code
   storeconfig does not work against current master and will be removed
   as part of Puppet 4.0.0. We want to maintain backward compatibility,
   so the code supports both

 - Removes references to Puppet[:trusted_node_data] when on Puppet
   4 (essentially assuming it is always true on 4). Like above we will
   look for it when on Puppet 3.y.z and ignore it (assuming true) when
   on Puppet 4.y.z
Merge pull request #1163 from senior/maint/stable/puppet-4-compiler-change

Fixes needed for running tests against puppet's master branch
Add VPC support for acceptance test hosts for PuppetDB

This changes all the templates to provide the correct vpc/subnet ids
and pins our beaker gem to use my test branch (at least until this is
merged).

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