lib: Add GType macros for types
lib: Add GType macros for types

This makes their use a little more convenient. Note that they are not
separate types in the GType type system yet.

pwithnall/dunfell,pwithnall/dunfell