(PUP-1019) Fix serializing environments.

This commit fixes a regression with Puppet::Node::Environment
serialization. When a Puppet::Node::Environment object would be
serialized the entire object was serialized instead of just the
environments name.
(maint) Clarify Puppet::Util::PsychSupport#encode_with method

Add additional documentation on the encode_with method.