Fix #9103, implementing `cd -` in REPL shell mode
added test for cd feature in REPL shell mode
return to original pwd after testing REPL shell cd
repl_cmd() prints to the repl's output stream

(not STDOUT)
Attempting to get REPL shell-mode tests to work in Windows