(PDB-905) Fix containment-path for skipped events

We had removed some < v4 reporting code as part of the last release, but I had
also accidentally removed containment-path for skipped events. This was an
effort to drop older Puppet support basically.

This patch fixes that problem, and fixes the tests.

I've also cleaned up a couple of other typos and style items, plus
removed one more case of < v4 report format checking.

Signed-off-by: Ken Barber <ken@bob.sh>
Fix the dependency for puppet for the PuppetDB package for the correct version

We had accidentally reverted the parameterized handling around the Puppet
dependency in our Debian package control file. This patch corrects that.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1111 from kbarber/maint/stable/fix-puppetdb-puppet-dependency

Fix the dependency for puppet for the PuppetDB package for the correct v...
Merge pull request #1099 from kbarber/ticket/stable/pdb-905-null-containing-class-containing-path

(PDB-905) Fix containment-path for skipped events
Use c3.large instead of c1.medium

This corrects all the configuration for beaker to use c3.large as we did for
stable.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-882) Setup basic facts performance testing

This introduces our first pass at performance testing, in particular we have
targetted loading structured facts.

The benchmark tool is now capable of using a series of provided fact JSON files,
so we can use that tool for this purpose. We've also provided a set of basic
seed files for these tests.

The tooling: `rake test:beaker` has now become `rake beaker:acceptance` and
performance tests are started using `rake beaker:performance` instead.

The testing introduces a new host configuration specific to this work, in particular
we are using a single c3.xlarge instance. This is isolated from the acceptance testing
one so we can tune this on its own.

This also fixs a number of side issues:

* benchmark -h was broken, now fixed
* The -rp switch no longer worked, this has no become -r
* Some of the client based stuff was strewn around our code base, its now
  centralized in puppetlabs.puppetdb.client

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1112 from kbarber/maint/master/use-c3-large

Use c3.large instead of c1.medium
Merge pull request #1103 from kbarber/pdb-882-perf-testing

(PDB-882) Setup basic facts performance testing
Merge branch 'stable'

* stable:
  Fix the dependency for puppet for the PuppetDB package for the correct version
  (PDB-905) Fix containment-path for skipped events
(maint) jsonify benchmark submission objects

This is necessary for catalog and report submission to work with benchmark.clj.
Merge pull request #1114 from wkalt/maint/master/jsonify-benchmark-objects

(maint) jsonify benchmark submission objects
(PDB-904) Switch fact_values.value_string trgm index to be GIN not GIST

There were reports of crashing due to a bug in pg_trgm indexing when a large
fact value was loaded into PuppetDB.

This patch removes the old index via migration, and will then replace it with
the index handling mechanism.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1106 from kbarber/ticket/stable/pdb-904-switch-large-trgm-index-to-use-gin

(PDB-904) Switch fact_values.value_string trgm index to be GIN not GIST
(PDB-13) Add wheezy to PDB acceptance tests

This PR adds a wheezy image to our acceptance tests.
Merge pull request #1098 from wkalt/ticket/master/pdb-13-add-wheezy-acceptance-test

(PDB-13) Add wheezy to PDB acceptance tests
Merge branch 'stable'

* stable:
  (PDB-13) Add wheezy to PDB acceptance tests
  (PDB-904) Switch fact_values.value_string trgm index to be GIN not GIST
(PDB-489) return producer timestamp

This exposes our "producer-timestamp" field on the factsets and catalogs
endpoints.  On factsets the field is queryable and orderable. The next step
will be to push the generation of this field back to the agent.