Fix crashes in room commands with blank IDs
Fainted pokemon should still have singleEvents
This is relevant for having Future Sight hit from a fainted pokemon.
Parse devoice, demod, etc. commands correctly
Merge pull request #286 from V4Victini/patch-7

Parse devoice, demod, etc. commands correctly
Abilities/items of fainted Pokemon should not activate
Improve seasonal team maker

Imrpove Average August's team maker taking into account player's feedback on the Seasonal.
Gen 1: Unban partial trapping moves

With the 0 PP behaviour fixed, there is no need to keep partial trapping moves banned, since the game changing struggle lock on 0 pp sequence is no longer there.
Show again UU ladder

As per tier leader kokoloko's request, show both UU ladders again for the current suspect.
Fix abusable loophole in redir
Redir used user.can as a way to stop lower auth from rediricting to
higher auth to other rooms.
However, if a user had auth over another user in a private room, this
user could redir the other user even if the latter had higher global auth
and/or was not in the room.
This commit fixes that, checking if a user is inside a room before being
able to use redir on they.
Fix redir with target with no target room crashing
Doubles: Unban Sky Drop

Sky Drop is no longer glitched in BW2 and thus available, so Doubles is unbanning it.
Fix Perish Song bug in Doubles

In Doubles, there's the possibility that battle.sides[i].active[j] 
does not exist, thus causing a crash. Add a check for that.
A non-existing Pokémon is not counted for result.
If there's no active Pokémon, there's no field Perish Song 
effect whatsoever.
GP 1/2
Unban Darkrai in STABmons
Update smogdex command: add option to link to doubles formats analyses

Add a third optional parameter to link to a vgc2012, vgc2013, 
or doubles analysis. It only works for gen 5 onwards. If you 
intentionally don't set generation, it will default to 
latest generation and check the parameter for doubles.
Fix styling in last commit
Crash hotpatch gracefully and inform of the exact error
If a hotpatch fails, it now fails gracefully and informs of the
error stack trace.
Move Doubles from othermetas command to tiers command

Since Doubles is going to be official from gen 6 on and it's 
on adaptation period, show it on tiers now so users get 
used to it.
Make redir not redir to the same room
It's redundant.
Gen 1: Implement partial trapping 0 pp bug
When a partial trapping move is executing its 0 pp sequence, if
the opponent switches the pps get rolled back to max.