Collect our processes' environment variables.

Change-Id: I0e8876ba61324bec202c36ae8a0617fdf8ae5614
Reviewed-on: http://review.couchbase.org/36156
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>