girepository: Various API cleanups
Mostly making ints unsigned, constifying things and clarifying naming. No hugely significant changes.
This is an API break, but libgirepository has not been in a stable GLib release yet, so that’s fine.
Helps: #3155 (closed)