Solved all unicode bugs in TextGrid

Also added them as unit tests, all possible praat encodings are tested.