Use G_DECLARE_TYPE boilerplate
Replace old-style boilerplate with modern G_DECLARE_TYPE. Public fields are replaced with functions as necessary. Part of a bigger set of patches in https://gitlab.gnome.org/robert.ancell/file-roller/tree/modern-gobject