fix page bug in pdftext.py
add version to PDFDocument.__json__
add scalex, scaley to PDFPage
init page viewer