Extends NumberedPager to limit the number of rendered buttons by setting

So far, NumberedPager was showing all existing pages. This pull request allows NumberedPager to limit the number of rendered pages by setting the field setMaxPages. If so, a fixed number of rotating pages is shown in the pager.

Also allows to customize the Next and Prev button text.