Fix the code that removes trailing dots

And make it easier to understand as well.
Add the .xn--d1alf and .xn--node TLD servers
Update the list of new gTLDs
Debian changelog for 5.2.2