Refactor BattlePokemon and BattleSide to use ES6 classes (#2792)
Refactor BattlePokemon and BattleSide to use ES6 classes (#2792)


xCrystal/Pokemon-Showdown,Zarel/Pokemon-Showdown,svivian/Pokemon-Showdown,DesoGit/Tsunami_PS,Enigami/Pokemon-Showdown,Zarel/Pokemon-Showdown,svivian/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Enigami/Pokemon-Showdown,ShowdownHelper/Saffron,AustinXII/Pokemon-Showdown,xCrystal/Pokemon-Showdown,PS-Spectral/Spectral,zek7rom/SpacialGaze,TbirdClanWish/Pokemon-Showdown,cadaeic/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Mystifi/Exiled,Lord-Haji/SpacialGaze,KewlStatics/Shit,Guernouille/Pokemon-Showdown,Lord-Haji/SpacialGaze,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Sora-League/Sora,urkerab/Pokemon-Showdown,DesoGit/Tsunami_PS,danpantry/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Sora-League/Sora,PS-Spectral/Spectral,EienSeiryuu/Pokemon-Showdown,AustinXII/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,AnaRitaTorres/Pokemon-Showdown,jd4564/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,SolarisFox/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,panpawn/Gold-Server,Sora-League/Sora,sirDonovan/Pokemon-Showdown,azum4roll/Pokemon-Showdown,cadaeic/Pokemon-Showdown,Volcos/SpacialGaze,jumbowhales/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,Mystifi/Exiled,Enigami/Pokemon-Showdown,ShowdownHelper/Saffron,Lord-Haji/SpacialGaze,xCrystal/Pokemon-Showdown,danpantry/Pokemon-Showdown,HoeenCoder/SpacialGaze,xfix/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,HoeenCoder/SpacialGaze,Zarel/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Volcos/SpacialGaze,Bryan-0/Pokemon-Showdown,Guernouille/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,KewlStatics/Alliance,PS-Spectral/Spectral,HoeenCoder/SpacialGaze,DesoGit/Tsunami_PS,ShowdownHelper/Saffron,Git-Worm/City-PS,AustinXII/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,xfix/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,svivian/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Git-Worm/City-PS,urkerab/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,panpawn/Gold-Server,sirDonovan/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,xfix/Pokemon-Showdown,Enigami/Pokemon-Showdown,panpawn/Pokemon-Showdown,xfix/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Mystifi/Exiled,aakashrajput/Pokemon-Showdown,jd4564/Pokemon-Showdown,KewlStatics/Alliance,Elveman/RPCShowdownServer,HoeenCoder/SpacialGaze,Kokonoe-san/Glacia-PS,urkerab/Pokemon-Showdown,Elveman/RPCShowdownServer,zek7rom/SpacialGaze,sirDonovan/Pokemon-Showdown,panpawn/Pokemon-Showdown,panpawn/Gold-Server,azum4roll/Pokemon-Showdown,xfix/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,KewlStatics/Shit