WIP PDB-453 Add environments to all terminii

(We might be unable to merge at this point, as we are awaiting fixes in Puppet: https://github.com/puppetlabs/puppet/pull/2444).

This patch ensures that the request environment is sent to PuppetDB inside
the payloads for the object types: facts, catalogs & reports.

Signed-off-by: Ken Barber <ken@bob.sh>