Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
Still, though, it makes no sense to do the check during name changes. That's just asking for a race condition.

We're checking hostname, so obviously we should do the check during hostname changes. That would make so much more sense...