Add support for getting environment variable values

This is a new command in the stdapi which allows the caller to pass in a set of environment variable names and retrieve a hash of the names and values. Missing or unknown values are ignored.