Refactored ProcessInput and ProcessChain tests to fix cross-platform issues

Fixes #498 and #496 

* extended the inputs_test for ProcessInput for debugging
* added CR to the last token in the piped ProcessChain test for Windows
* split out the parameters for ManagedCmd, ProcessChain and ProcessInput tests into platform specific files

cat and grep have been replaced with more and findstr on Windows.
The never ending "tail -f" has been replaced with a long running ping to localhost to test timeout and process termination.