(CFACT-35) Implement environment merging for child processes.

Implementing execution::each_line function for more efficient output processing for child processes that output a lot of data.

Implement the merging of environment variables for the execution::execute
and execution::each_line functions.

This also sets LANG and LC_ALL to "C" if not explicitly specified to the
functions.