Fix UnicodeDecodeError in keyvaluesplit reported by @jottr

Ref #788
Add integration tests for unicode directory names
Use newline for dash, not CR
Output list of failed shell tests
Fix tcsh escaping

`!` gets expanded to the prompt count, so it needs to be escaped.
Merge pull request #1198 from ZyX-I/fix-shell-unicode-error

Fix shell unicode error when current directory name is not ASCII