Update for min_page_size and max_page_size feature

Update RestController. Added `min_page_size` and `max_page_size` variables and clause in getList method for checking `min_page_size` and `max_page_size` variables based on the variables in the controller config. Throwing a ApiProblem if page size is out of range.