Do not allow unicode-related exceptions inside logger

Fixes #421
Also move FailedUnicode to powerline/lib/unicode
Merge pull request #841 from ZyX-I/no-pl-unicode-exceptions

Do not allow unicode-related exceptions inside logger