Specify GObject type initializers for all gobject classes

Fixes complaints about types not being known to GObject
and also fixes segfaults (for me).