Add GObject.Type.type()

This is an attempt to help with https://github.com/pavouk/lgi/issues/81