(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.