(PDB-454) Added support for querying/returning environments for resources and facts

All v4 responses for resources and facts should now return environments. Also supported
is querying for environments using equals and regexes.
Changed v2/v3 resource/fact API calls to remove environment from the response
Merge pull request #912 from senior/ticket/master/pdb-454-resource-facts-environments

(PDB-454) Support for querying/returning environments for resources and facts