rector and php sniffer cleanups
per page setting to change landscape/portrait Fixes #19Reapply proposal of @samwilsonhttps://github.com/samwilson/dokuwiki-plugin-dw2pdf/commit/0f1a0edc4c4579c9f79067d8a8c73197626fbf33