MDL-36395: Converted hard-coded MAX_USER_PER_PAGE to config setting

course, cohort, enrol, role, groups and forum used to use hard-coded
MAX_USERS_PER_PAGE=100 for rendering user list. This has been converted
to $CFG->maxusersperpage.