Add MAX_PAGE_SIZE setting
Description
Add a setting for max page size for global pagination. Our team discovered that by default, page size is unlimited which could lead to API abuse and the only way to fix it -> it's to subclass pagination class(which is a working solution, but not convenient). After investigating issues I found related issue and comment.
OK I saw the comment now https://github.com/encode/django-rest-framework/issues/6185#issuecomment-1352913177 it might be possible in class level but not globally at the moment.
@auvipy I added tests for system checks, but didn't managed to find and add tests for settings with API requests like in test_pagination.py, and it's kind hard to add since pagination settings are defined as class attrs.
we got a PR related to this area https://github.com/encode/django-rest-framework/pull/8993. would be helpful if you review and share your views on the PR.
@auvipy @christophehenry @TheSuperiorStanislav If you don't mind, I can take this up and implement the changes requested