Added "pageNumber" element

Added a separate pageNumber element that can be used anywhere in the report. Also implemented the "padding" feature from @giano pull request.