Remove a check from prior work on Triples
Shifting is now a valid decision in Triples
Triples: implement autocenter
Support leaving empty slots when switching multiple mons in
This happens in Doubles or Triples if, in a single turn, more pokemon faint than can switch in.
This commit introduces two changes. Namely:
- If more pokemon faint in a single turn than can switch in, those with the higher positions now can have switch flags on.
- Passing a switch is now a valid decision that gets added to battle queue with maximum priority and disables the pokemon's switch flag.

As a side effect, this also allows running the battle engine in JS strict mode.
Make sure that moves restricted to adjacent targets have valid targets
Also Helping Hand's targetting is not hard-coded anymore.
Add Triples Custom Game format
Only update the tournament bracket a maximum of once per two seconds
Rename frontend.js to middleend.js
Add getusers tournament command
Minor whitespace fix
Include tournament type info in end message
Merge pull request #1065 from kotarou3/tournaments

Tournaments
Add "dogars" as a Koffing alias
Merge pull request #1067 from Ridaz/patch-4

Add "dogars" as a Koffing alias
Fix crash in 664c187
Prevent modlog message on failed disqualification

If the user isn't disqualified, that information doesn't need to be added to modlog.
Improve conditional style

Statements shouldn't be on a separate line from their conditionals without brackets.
Merge pull request #1068 from Relados/patch-3

Prevent modlog message on failed DQ / Improve conditional style
Fix minor bug in tournament commands' param passing
Add tournament auto disqualification feature