Add note command

Add a note command that adds silently a note to a user's modlog for other auth to read without giving actual punishment and without having the whole chat knowing.
Gen IV: Fix Toxic Spikes.
Correct Transformed PP and max PP.
Revamp note command, now modnote

Make it clear that it's a private user. Mod notes are no longer restricted to an user, all mods can add a note for anything.
Add final modifier after min damage check

In-game, final modifiers like Life Orb are calculated after the minimum damage is calculated instead of calculating it earlier on base power.

This event run will call all onModifyDamage events on said modifiers to thus correctly modify the damage using BattlePokemon.prototype.modify
Fix Life Orb

Life Orb uses now BattlePokemon.prototype.modify which does the correct calculator for damage modifiers and in the correct order thanks to the ModifyDamage event.
Merge pull request #251 from Joimer/patch-22

Add note command
Merge pull request #258 from Joimer/patch-25

Add ModifyDamage event for final modifiers like Life Orb
Gen IV: Stopgap fix for Life Orb.
Update /help command

Add help for 'modnote' command and update permissions required on some commands.
Merge pull request #259 from Joimer/patch-27

Update /help command
Added check to make sure sets have a STAB move (if possible) before being added.
Updated Random Battle set generation with more comments and system to try and find STAB moves.
Removed two lines from an older commit that were no longer being used.
Removed unnecessary code, removed unreliable check, cleaned up section of code.
Merge pull request #260 from Jay2645/master

Added check to make sure Random Battle movesets have a STAB move before being added.
Fixed case where a Pokemon could get Baton Pass without having anything to pass. Also added check for recoil moves before adding Focus Sash and allowed Choice Band/Choice Specs to be considered if you have Trick or Switcheroo and 3 attacking moves of the same category.
Random Battle Choice Scarf fix
Circle Throw is treated like Dragon Tail
Merge pull request #261 from Jay2645/master

Minor adjustments to random set logic, minor cleanup of code from previous commit