adds fit-to-page functionality
Created originally on Bitbucket by aceMueller
built on fork at 424; adds set_fit_to_page method and related writing; change set attached; includes test cases; note that the location of the set_fit_to_page method was in the middle of some other new methods in my collection, so it could conflict when you unpack this change separately, but obviously being a stand-alone function it can go about anywhere.
Attachments: addFitToPage