Handle PuTTY oddities

Use terminal answerback string to identify PuTTY.
If we're running PuTTY, set $TERM to reflect that.
If we're running PuTTY, tell the terminal to enable UTF-8.