/query command no longer returns IP addresses
Move mega evolution message to client
fix style errors in rhcapp.js
Merge pull request #1374 from TheImmortal/master

Move mega evolution message to client
Gen 1: Imprement self-destruct moves damage buff properly
Defense is halved upon damage calculation.
There is no need to double their base power anymore, as now it is calculated correctly.
Gen 1: Implement correct Psywave damage calculation
In gen 1, it generates a random number from 0 to 255 until the number is higher than 0 and less than level + floor(level / 2) and then returns it.
Gen 1: Update readme
Gen 1: Implement burn attack dropping and its bugs properly
Attack is calculated with burn upon switch in and stored.
Attack drop is thus not restored with Rest.
Attack drop is restored with an attack debuff, removed with attack buff.
Gen 1: Floor all divisions
Gen 2: Remove unnecessary code
Gens 1 and 2: Proper stat reduction calculation
This is huge since there's a change in -1 Snorlax's speed that is relevant to Gen 2.

See:
http://www.smogon.com/forums/threads/stat-reduction-bug.3520407/
https://github.com/iimarckus/pokered/blob/master/engine/battle/core.asm#L7856
https://github.com/kanzure/pokecrystal/blob/master/battle/effect_commands.asm#L6608
Gen 1: Implement paralyse speed drop properly
Gens 1 and 2: Implement Psywave properly using less resources
Instead of doing the same as the cartridge does for Psywave damage, we hardocde the random possibility with a min and a max.
Private Room refactor - Distinguish hidden and secret rooms

Seperated /privateroom command into /privateroom and /hiddenroom. In
hidden rooms, mostly set by battle players, global staff maintain their
ranks within the room, but the rank is not kept in secret/private rooms
(only set by users who can create chat rooms).

Created command /whoare to allow global staff to see the hidden rooms a
user is in.
Add event Linoone
Gen 2: Refactor stat and damage calculation
Gen 2: Fix AfterMoveSelf events

Leech seed, etc., must be activated just after the Pokémon moves and even if asleep or FP.
Gen 2: Fix Baton Pass mons getting damaged by psn / leech seed

AfterMoveSelf does not happen if the move used was Baton Pass.
Fix travis error build from ef8f83973596a1b74612aa7ea5ef7b6042040cbb
Gen 2: Implement critical hit mechanics