Published for pages

Adds support for the `published` flag for pages (already supported for posts) as requested in #1034.