Added some tests for the PashConsole itself

Notice that they take a while because of the long startup times of Pash.
Changed tests to work on windows. Some fixes

The tests needed some changes to work properly on windows.
FullHost was changed to be more robust in uncommon environments (Console
with redirected stdin/stdout) and to work aso if the calling assembly
was shadow-copied (when loading the config script).