movedThisTurn overhaul:
- now named 'moveThisTurn' and contains the moveid
- this fixes the Outrage issue
Fix Spit Up, tidy up Stockpile.
More tidying of Stockpile.
Add Gen 1 formats

Add the different Gen 1 formats. OU and CC for rated, searchShow 
formats, Ubers, UU and LC for challenge only formats.
Allow an Illegal check without abilities.
Add callback for getStat.
Add all gen 1 files
Template/stats refactor:
- Stats are now cached and recalculated every clearVolatile (switchout)
- Power Trick, Power Split, Guard Split, Transform, forme changes now
  modify the cached stat value
- This eliminates the need for pokemon.baseSet, so it's been removed
- pokemon.transformInto has been split into transformInto and formeChange
- pokemon.baseBoosts have also been eliminated, boost changes are now
  calculated on-the-fly like stats themselves
- Overall, stat changes should be a lot more like the cartridge games now
- We're also one step closer to finally getting rid of the ModifyPokemon
  event
`typechange` refactor
Type changes have been moved out of ModifyPokemon, and now are only
updated manually such as at clearVolatile or during forme changes.

This fixes interaction between: Transform, forme changes,
Conversion, Conversion2, Soak, Camouflage, Reflect Type, and
Color Change.

We're now one more step closer to getting rid of the ModifyPokemon
event.

Type changes in gen3 and gen4 will need to be redone for the new
typechange system.
Restore Marty's Stockpile changes
(Previous commit accidentally overrode them)
Fix forme change bug
pokemon.formeChange now returns true on success, so forme changes are now
properly reported.
Support userids in consoleips permission
Skull Bash locks the user and does not increase defense.
Substitute breaking stops multihit moves.
Fix sub counter damage, also max damage is greater than sub hp
Change in gen 1 readme
Fix a crash in Power Trick
Transform copies current type
(Previously, it would copy base type.)
Add item, move, ability support to /dex command

Add item, move, ability support to /dex command so it links their 
Smogon page in the correspondent generation.
Merge pull request #179 from Joimer/patch-7

Add item, move, ability support to /dex command
Cartridge-accurate implementation of Power Trick