Add cps_entity_in_published_changeset() helper and use it instead of checking for 'Initial live revision' string in revision log.