Archived documents count as having been published

These changes ensure that archived editions are included in a
document's change history.
Don't treat archived editions as being in "Preview" state

Previously, only "published" editions were publicly visible on the
site so the logic was fine, but now "archived" editions are also
publicly viewable. This will ensure only pre-public state editions
do not get a change history.