Page numbering in header/footer

Added header attribute which stores only page numbers in simple (X) and complex ("customtext" X из TOTAL) format.