Add a method to infer the orientation of a page

It can be useful to determine whether a PDF page is in portrait or landscape orientation, such as when concatenating multiple documents. This method examines both the dimensions of the page's MediaBox as well as the Rotate property, if specified, and returns the orientation as "portrait" or "landscape."