Call "Fit to page" in python?

I’ve submitted a merge request implementing actions for Fit to Page, Fit to Page Width, and Fit to Page Height, so that a workaround shouldn’t be necessary as of 5.2, and so that these actions can be accessed through additional means.