Properly seed RNG
Merge pull request #276 from V4Victini/patch-5

Properly seed RNG
New command: /ipsearch
Resource Monitor
NEXT is no longer Gen-NEXT
Don't allow /endlockdown outside of lockdown
Focus Sash is now banned in 1v1
Don't start timer on ended battles on lockdown

Lockdown is starting the timer on all battles without timer. This is not necessary in finished battles.
Consolidate battle initialization
Preparing for a battle is now done in User.prototype.prepBattle
Fix hole in throttler
Previously, /cmd was exempt from the throttler. This allowed an
amplification attack by sending a lot of /cmd's in one message,
which was responsible for the recent DoS attacks.

/cmd is now throttled normally, except for userdetails, which
happens instantly but is limited to once/message, so it can't
be used for anywhere near as much amplification.
Crashes written to the console now specify crash type
Add new Jirachi event
Add Jirachi event with Follow Me and Meteor Mash
Only private rooms require login
Lobby no longer reports a global usercount
Refactor: Rename numBattles to lastBattle
'lastBattle' better reflects the filename it's stored in, and also
what it does
serverid is no longer used in the current login server scheme
Minor rearranging of the default config file
Track total number of battles
Deallocate users more aggressively
Specifically, if a user disconnects without ever choosing a name,
deallocate their object immediately
Fix crash in getRooms