Limit names to 30 chars before passing to namefilter
Limit names to 30 chars before passing to namefilter

Names are limited to 18 characters in toName, but toName happens
after namefilter since namefilter is intended to filter out
objectionable names, while toName is intended to filter out
unsupported names, and namefilter's transforms to names are not
guaranteed to never output an unsupported name.

This preprocessing just ensures that a badly-coded namefilter
can't be used to DoS in conjunction with a long name.

xfix/Pokemon-Showdown,gustavo515/batata,xCrystal/Pokemon-Showdown,Guernouille/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,panpawn/Pokemon-Showdown,Zarel/Pokemon-Showdown,TheManwithskills/COC,xCrystal/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,Mystifi/Exiled,SkyeTheFemaleSylveon/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,ehk12/coregit,SolarisFox/Pokemon-Showdown,Lauc1an/Perulink-Showdown,CreaturePhil/Showdown-Boilerplate,AnaRitaTorres/Pokemon-Showdown,urkerab/Pokemon-Showdown,lAlejandro22/lolipoop,gustavo515/test,sirDonovan/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,danpantry/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,DesoGit/Tsunami_PS,xCrystal/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,hayleysworld/serenity,Celecitia/Plux-Pokemon-Showdown,TheManwithskills/New-boiler-test,JennyPRO/Jenny,MeliodasBH/Articuno-Land,TheDiabolicGift/Showdown-Boilerplate,cadaeic/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,KewlStatics/Shit,scotchkorean27/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,Hidden-Mia/Roleplay-PS,BlazingAura/Showdown-Boilerplate,Ecuacion/Lumen-Pokemon-Showdown,Enigami/Pokemon-Showdown,panpawn/Gold-Server,hayleysworld/serenityserver,PS-Spectral/Spectral,EienSeiryuu/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,Pablo000/aaa,KewlStatics/Pokeindia-Codes,TheDiabolicGift/Showdown-Boilerplate,Flareninja/Pokemon-Showdown,TheManwithskills/serenity,kuroscafe/Paradox,brettjbush/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,BlazingAura/Showdown-Boilerplate,ZestOfLife/PSserver,TheManwithskills/DS,QuiteQuiet/Pokemon-Showdown,HoeenCoder/SpacialGaze,kuroscafe/Showdown-Boilerplate,jumbowhales/Pokemon-Showdown,HoeenCoder/SpacialGaze,Wando94/Spite,Enigami/Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,psnsVGC/Wish-Server,azum4roll/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Elveman/RPCShowdownServer,Irraquated/Pokemon-Showdown,AWailOfATail/awoat,psnsVGC/Wish-Server,panpawn/Gold-Server,Firestatics/Omega-Alpha,ZestOfLife/PSserver,Lord-Haji/SpacialGaze,Alpha-Devs/OmegaRuby-Server,Articuno-I/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,KewlStatics/Showdown-Template,ehk12/bigbangtempclone,CharizardtheFireMage/Showdown-Boilerplate,SolarisFox/Pokemon-Showdown,Alpha-Devs/Alpha-Server,EmmaKitty/Pokemon-Showdown,KewlStatics/Alliance,piiiikachuuu/Pokemon-Showdown,TheManwithskills/New-boiler-test,SilverTactic/Showdown-Boilerplate,yashagl/yash-showdown,TheFenderStory/Pokemon-Showdown,Git-Worm/City-PS,aakashrajput/Pokemon-Showdown,svivian/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,ShowdownHelper/Saffron,DB898/theregalias,urkerab/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,jd4564/Pokemon-Showdown,kuroscafe/Paradox,MeliodasBH/Articuno-Land,urkerab/Pokemon-Showdown,PS-Spectral/Spectral,megaslowbro1/Showdown-Server-again,ShowdownHelper/Saffron,TheFenderStory/Showdown-Boilerplate,SkyeTheFemaleSylveon/Pokemon-Showdown,MeliodasBH/boarhat,Firestatics/Firestatics46,EmmaKitty/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,yashagl/pokemon-showdown,CreaturePhil/Showdown-Boilerplate,Wando94/Spite,TheManwithskills/Dusk--Showdown,jumbowhales/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,Volcos/SpacialGaze,gustavo515/final,hayleysworld/serenityc9,svivian/Pokemon-Showdown,DesoGit/Tsunami_PS,Wando94/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,DesoGit/Tsunami_PS,ZestOfLife/FestiveLife,Lauc1an/Perulink-Showdown,jumbowhales/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Elveman/RPCShowdownServer,Celecitia/Plux-Pokemon-Showdown,bai2/Dropp,Nineage/Origin,gustavo515/test,Mystifi/Exiled,TheFenderStory/Showdown-Boilerplate,KewlStatics/Alliance,theodelhay/test,JennyPRO/Jenny,AustinXII/Pokemon-Showdown,zek7rom/SpacialGaze,ehk12/coregit,yashagl/pokemon-showdown,hayleysworld/Showdown-Boilerplate,TbirdClanWish/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,TheManwithskills/serenity,danpantry/Pokemon-Showdown,k3naan/Pokemon-Showdown,ZeroParadox/BlastBurners,panpawn/Gold-Server,Vacate/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,hayleysworld/serenityc9,Alpha-Devs/Alpha-Server,DesoGit/TsunamiPS,ehk12/bigbangtempclone,AnaRitaTorres/Pokemon-Showdown,Wando94/Pokemon-Showdown,ShowdownHelper/Saffron,Syurra/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,cadaeic/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,Guernouille/Pokemon-Showdown,ankailou/Pokemon-Showdown,AustinXII/Pokemon-Showdown,TheManwithskills/COC,KaitoV4X/Showdown,Bryan-0/Pokemon-Showdown,Git-Worm/City-PS,Lord-Haji/SpacialGaze,Nineage/Origin,ZeroParadox/ugh,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Vacate/Pokemon-Showdown,Firestatics/Firestatics46,hayleysworld/serenity,HoeenCoder/SpacialGaze,DarkSuicune/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,ZestOfLife/FestiveLife,Mystifi/Exiled,DB898/theregalias,TheManwithskills/Dusk--Showdown,arkanox/MistShowdown,forbiddennightmare/Pokemon-Showdown-1,ZeroParadox/BlastBurners,piiiikachuuu/Pokemon-Showdown,Irraquated/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,AbsolitoSweep/Absol-server,gustavo515/final,DarkSuicune/Pokemon-Showdown,Enigami/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate,KewlStatics/Shit,ZeroParadox/ugh,lFernanl/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,brettjbush/Pokemon-Showdown,Firestatics/Omega-Alpha,TheManwithskills/DS,svivian/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,Enigami/Pokemon-Showdown,Lord-Haji/SpacialGaze,SilverTactic/Dragotica-Pokemon-Showdown,ScottehMax/Pokemon-Showdown,TheManwithskills/Server---Thermal,superman8900/Pokemon-Showdown,xfix/Pokemon-Showdown,yashagl/yash-showdown,QuiteQuiet/Pokemon-Showdown,Pablo000/aaa,TbirdClanWish/Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,ankailou/Pokemon-Showdown,lFernanl/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,Zarel/Pokemon-Showdown,theodelhay/test,megaslowbro1/Showdown-Server-again,SilverTactic/Dragotica-Pokemon-Showdown,Irraquated/Pokemon-Showdown,gustavo515/gashoro,Pikachuun/Pokemon-Showdown-SMCMDM,Sora-League/Sora,Zarel/Pokemon-Showdown,superman8900/Pokemon-Showdown,DesoGit/TsunamiPS,AWailOfATail/awoat,EienSeiryuu/Pokemon-Showdown,zek7rom/SpacialGaze,sirDonovan/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Firestatics/omega,KewlStatics/Showdown-Template,CharizardtheFireMage/Showdown-Boilerplate,azum4roll/Pokemon-Showdown,TheManwithskills/Server---Thermal,Pokemon-Devs/Pokemon-Showdown,Sora-League/Sora,MeliodasBH/boarhat,HoeenCoder/SpacialGaze,Volcos/SpacialGaze,Firestatics/omega,AbsolitoSweep/Absol-server,Sora-League/Sora,Pikachuun/Pokemon-Showdown,Flareninja/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,svivian/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,aakashrajput/Pokemon-Showdown,xfix/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,gustavo515/gashoro,KaitoV4X/Showdown,k3naan/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,xfix/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,javi501/Lumen-Pokemon-Showdown,hayleysworld/serenityserver,Kokonoe-san/Glacia-PS,panpawn/Pokemon-Showdown,xfix/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,Syurra/Pokemon-Showdown,jd4564/Pokemon-Showdown,PS-Spectral/Spectral,lAlejandro22/lolipoop,bai2/Dropp,gustavo515/batata,svivian/Pokemon-Showdown,arkanox/MistShowdown