Allows NumberedPager to limit the number of rendered buttons by setting
the field setMaxPages. If so, a fixed number of rotating pages is shown.

Also allows to customize the Next and Prev button text.