Add all loaded applications environment vars to initargs file.

Change-Id: I104a5bc421d02524b7b2e17cf8f3e9b0e88ac6ba
Reviewed-on: http://review.couchbase.org/35504
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>