Fix BrokenPipe Error. Add Unicode support to classes
Replace polyglot script by __main__ module, this will allow us to run python3 -m polyglo and python2 -m polyglot enabling easier testing for scripts