Set environment variables using a file.
Support copying value from env with -e option.
Fixed problem with variables containing \n.

The /.dockerenv file is now a marshalled json array so that environment
variables with \n and other weird values are supported.