feat(pagination): add mode attribute when max-size is set

* grouped-max-mode: true/false (default: false)
* If true, current page is not keeped in the middle but visible pages are paginated with maxSize.
* Ellipsis are added to move to previous & next page set (if available).
* Handy for big data sets
* Also, other minor refactors.