Added a proper rank system, now also saved in the database.

Title says it all, there's still some more work to do, but for the most part it's done.
Update: Revamped the whole command system. Added more rank-related commands.
Hopefully I didn't break everything with this xD