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

course, cohort, enrol, role, groups and forum used to use user_selector_base
with hard-coded MAX_USERS_PER_PAGE=100 for render user list. This has been
converted to $CFG->maxusersperpage, so admin can change it as per there need.