Moved useful web-related functions to a separate file.
Rewritten the Permissions page to use cRankManager.