Improve console logging
Merge pull request #24 from Freigeist/patch2

Fixing /ladder command
Fix provisional cutoff in /ladder
Fix trying to switch a trapped pokemon
Command history
So that command history isn't buggy, it's currently implemented
so that Up will only take you up command history from the beginning
of the textbox, and Down will only take you down command history
from the end of the textbox.

This allows Up and Down to be reliably used to navigate up and down
the textbox, as well.
Command history: Ctrl forces history navigation
Command history: Can navigate at start/end of line
Fix crash in tab complete
Fix battles sometimes not scrolling to bottom
Support deploying on play.pokemonshowdown.com
Move `origindomain` to `Config.origindomain`
Support tab complete in PMs
Refactor: Introduce Config.defaultserver.httpport
Merge branch 'client-overhaul' of github.com:Zarel/Pokemon-Showdown-Client
Update references to `dev.pokemonshowdown.com`
index.template.html fixes

- add version query strings to resources
- fix path of some library files
Remove unnecessary line from query string script
Add missing semi-colon
Add missing semi-colon
Merge branch 'client-overhaul'