Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
Any reason why you aren't simply checking for `this.autoconfirmed` rather than adding a new argument to the function?