Resolve EOF error in test_interact.py for OSX and SunOs

I've exported LANG=en_US.UTF-8 in the TeamCity build configuration itself, which allows the master branch to pass.

This pull request displays the current locale as part of tools/display-terminalinfo.py and enforces it in tools/teamcity-runtests.sh as well.