Gobject glue

The code compiles without any serious warning, it's still untested though.

I had to change the `all-subclasses` functions to not be recursive because with objects like `<GObject>` it was crashing.