doc: rename sgml -> xml

And add the object tree, an index and GI annotations.