Improve modlog
Modlog is now separated by rooms and each room has its own independent
modlog file to be searched into.
The new syntax allows to search directly into the room's modlog, but also
allows you to input a room and add then the criteria after a comma to
find about other rooms's modlogs.
You can also search in all rooms at once using 'all' as roomid.

Usage:
/modlog - Searchs for last 100 lines on current room's modlog.
/modlog lines or word - Searches for lines lines or word into room's
modlog.
/modlog roomid, lines or word - Searches for lines lines or word into
roomid's modlog.
/modlog all, word - Searches for word onto all modlogs.
Add the possibility for abilities to run onHit events for both attackers
Just as with moves, add the same possibility to abilities so onHit is
run on both sides, allowing new ability effects to be added.
Fix Magician properly
Although the fix 81d6340126c7960a0c51f2c7b576ec09d4597252 on
8f913c9e1cd32615eb31511611e11750ddc54856 was correct, the battle engine
was not prepared for a situation in which a source hitting a target
has an effect on the source itself.
Add now a hard check for Magician so the fix works properly.
Update modlog's help
Add Room Owner to rank help
Edit room owner desc in /groups to add a nitpicky detail

<victini> Joim: Correction: They can't promote others to room owner, and nor can they remove the room
This nitpick is true and adding "almost" fixes it.
Ban Mega Mewtwo from both Smogon Doubles formats

why did it even get two anyway
Merge pull request #488 from Arcticblast/patch-2

Ban Mega Mewtwo from both Smogon Doubles formats
Ban Mega Mewtwos on Inverse Battle

Additionally, we should seek a way to automatically ban mega 
formes of those Pokémon banned on their normal forme.
Update Klefki base stats
Add Rage Powder message
CAP Cawmodore Playtest is over
Prevent Worry Seed from affecting Stance Change
Update shortDescs that are too long
Correct Forest's Curse and Trick-or-Treat descriptions
Persistent only works on moves before Gen 5
Factor Ability Capsule into legality

Pokemon can have 3rd Gen moves with 4th Gen Abilities in Gen 6
Update OU for Gengarite ban

http://www.smogon.com/forums/threads/xy-ou-ban-of-gengarite.3494085/
Merge pull request #490 from MaikeruS/patch-4

Update OU for Gengarite ban
Fix legality check

Even in Gen 6, Level-up moves cannot be passed down to babies of male-only species