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.
removed some forgotten logging
correct indentation and removes some missed logging
Merge pull request #470 from pellyadolfo/master

Extends NumberedPager to show a fixed rotated number of rendered pages