deprecate per_page_options and move its logic to Pagination component
we don't use per_page_options anywhere else (expect Pagination component), and since we already read the per_page url parameter in the pagination, it makes sense to move the logic of calculating the options into the component instead of app_metadata in application helper
- Fixes #29292 - Move pagination options to the client
There is no need to send the pagination options from the server, they
can be generated on the client side.
- Refs #29292 - fix review comments
Renamed PaginationHelper to PaginationHooks and removed test that is no
- Refs #29292 - Remove useless pagination options from audit table
The pagination component already gets the pagination options and doesn't
need them to be passed in from the calling component.
Co-authored-by: Amir Fefer <firstname.lastname@example.org>