Derive GType from GObject headers

Do not assume GType = Word, but rather derive it from the actual GType
type in GLib using hsc2hs.

Also detect whether APIStructs correspond to boxed types (although the
information is not used yet).