Update chat-commands.js

Added /blockchallenges /bc and /allowchallenges /ac
Adding Smogon Doubles to /om

Added a link to the other metagames forum thread for Smogon Doubles inside the /om !om command.
Added blockchallenges and allowchallenges

Added commands /blockchallenges or /bc and /allowchallenges or /ac to let the user choose whether to accept challenges from other users or not.
Updating to last contents, adding Gen 1 mod files
Solved several learnset issues arosen from grunt work
initialize new repo
Change /opensource to link to Joimer fork

this was really annoying me -.-
Merge pull request #1 from MJB47/patch-15

Change /opensource to link to Joimer fork
Merge http://github.com/Zarel/Pokemon-Showdown

Conflicts:
	battles.js
	chat-commands.js
	config/config-example.js
	data/abilities.js
	data/formats-data.js
	data/formats.js
	data/learnsets.js
	data/moves.js
	data/scripts.js
	logs/logging.md
	mods/gen3/moves.js
	mods/gennext/GEN-NEXT.md
	mods/gennext/moves.js
	rooms.js
	tools.js
	users.js
Merge http://github.com/Joimer/Pokemon-Showdown
Changed battles.js to allow tool installing
Removed rock slide flinch rate
Fixed abilities failing Illegal check on some pokemon
Capped stats at 999
Added unability to move on partial trapping
Override rollMoveHit to add 1/256 miss chance

line 287 is the key line. essentially made it roll a random number up to 100.4
(100 + (1/256) such that there is an extra 0.4% chance to miss on all moves 
except things that ignore the accuracy check (swift)
edit the formula

changed it such that move accuracy and the 1/256 chance are seperate checks
Make gust normal type
Change karatechop to normal type
Properly implement Low Kick
Properly implement Metronome
Multiple changes to moves

moves edited: Poison sting, Psychic, Razor Wind, Skull Bash, Thunder, 
Tri Attack, Wing Attack.
Implement the rest glitch

implements the glitch where rest will fail if the pokemon hp is 511 or 255 
below max hp.
Merge pull request #3 from MJB47/patch-17

Make gust normal type