Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
Maybe use the <code>noRecurse</code> option for locking? (third parameter -> true).