PDB-85 Fix report export format

Three new parameters were added to the events end-point that were really
derived from the report of the event, and so aren't necessary for later
injection via import.

This was blocking anonymization and import from working as expected. This patch
ensures those parameters are stripped from the export correctly.

This bug wasn't seen because our tests do not always generate events, so
the invalid parameters never surfaced. As a safety guard for future
generations I've made sure that all the places that look like they could
do with some report events, I've ensured these exist now - even if they
probably haven't got any issues it seems like the correct thing to do
here.

To aid in this endeavour I've back-ported Ryan Seniors' two methods:

- run_agents_with_new_site_pp
- create_remote_site_pp

Since this setup was becoming quite common, this helped cleanup some of
our existing code as well.

Signed-off-by: Ken Barber <ken@bob.sh>
Add exports puppet face

Prior to this commit I was asked by @kbarber to PR a link to a face
I wrote for querying puppet exports from the command line.
I attempted to match the standard markdown examples that were already
there.
Merge branch 'add_exports' into 1.5.x

* add_exports:
  Add exports puppet face
Merge pull request #758 from kbarber/ticket/1.5.x/PDB-85-anonymize-for-reports-broken

PDB-85 Fix report export format
PDB-109 Ensure basic_collection tests work on a clean database

Some of the data from previous tests was being leaked. This patch adds a clear
and restart action to the start of the test to ensure there is no existing
data before these tests run.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #761 from kbarber/ticket/master/PDB-109-fix-ci-errors

PDB-109 Ensure basic_collection tests work on a clean database
Fixed the wire_format links on the catalogs API page, removed some HTML
markup that wasn't rendering correctly in a code example
Merge pull request #763 from senior/maint/1.5.x/pdb-94-broken-wire-format-links

PDB-94 - Fixed the wire_format links on the catalogs API page
Merge branch '1.5.x'

* 1.5.x:
  Fixed the wire_format links on the catalogs API page, removed some HTML markup that wasn't rendering correctly in a code example
  PDB-109 Ensure basic_collection tests work on a clean database
  Add exports puppet face
  PDB-85 Fix report export format