Implement /rangelock

More info: http://www.smogon.com/forums/threads/3517493/
I added <code>hardlocked</code> to affected users and checked that here because the original idea was to prevent them from PMing anyone on the server, including global staff. With the popup they receive initially, won't they already know that it's not a regular lock?