Changed permission system for config pages.

Config pages are now only available for users with permission 'config.can_manage'. Fixed #1159.