Relying on query string parsing breaks client-side pagination
Pagination component directly calls helpers to parse page url and if 'perPage' is not found in query string, it uses default page size from settings with no option to override via props. This makes the component very inflexible as it is now tied to browser url. As a side effect, this breaks client-side pagination on pages where Pagination component is used.
Steps to reproduce:
1) sync templates using foreman_templates plugin
2) change number of entries per page when sync result is displayed
3) the correct number of entries is displayed, but pagination shows incorrect numbers