(PDB-457) - Update import/export/anonymization for v4 API

This involves adding supporting the new wire formats (with environments) and adding anonymization for environments. This commit also adds full stack testing of PuppetDB from within Clojure.

We'll probably want to eventually move and possibly abstract out some of the full stack testing stuff for use in other areas of the code. I have left that for when we need it to test other things.