Fix Trace

The previous implementation of Trace is difficult to understand
and has a lot of weird bugs. I'm mostly sure this is what it
was intended to do.
Log ac accounts of locked/banned users
Fix tournaments permissions

Previously, ROs/leaders couldn't enable/start tournaments
Comment gen 3 switch mechanics
Fix weird behavior on double-faint in early gens
Gen 3: Fix Trace bug from 065e293c
added more doubles random battles movepools
Merge pull request #1131 from Audiosurfer/patch-1

added more doubles random battles movepools
Update UU suspect
Started documenting battle messages

Added documentation for the following battle messages: request, move,
switch, -damage/-heal, -boost/-unboost, faint, cant.

Other messages will come next, followed perhaps by how to send moves.

Also, changed most bold headers to h4 headers so that the hierarchy for
battle messages could be more obvious.
Merge pull request #1112 from ascriptmaster/master

Started documentation on battle messages
added some more doubles random battle movepools
Merge pull request #1133 from Audiosurfer/patch-1

added some more doubles random battle movepools
Nicer crash reports

`|split` is now parsed out, which should make battle logs much easier
to read.
New command API sendModCommand

Does the same thing as privateModCommand, but without logging it
Gen 2: Substitute blocks Sketch
Gen 2-3: King's Rock doesn't affect moves with secondaries
Gen 2-3: HP Fire doesn't thaw targets
Quick typo fix

Accidentally left an incomplete message in the documentation for |start
Update SockJS to 0.3.9