(CFACT-91) Resolve potential dead-lock in reading stdout/stderr

If a child process writes to stderr exceeding the pipe buffer, the child will block on write. If we don't simultaneously
read stderr, ReadFile on stdout can block the thread, leading to a deadlock. Implement a thread for reading from stderr
and writing the results to LOG_DEBUG.