Support for TAG_IMAGE and TAG_ATTACHMENT is commented out; this requires caps on buffers which is gone from 0.11. Segment handling in the demuxer is a bit complex; I added some FIXME comments in places where I'm not yet sure if I ported correctly.
Makes things easier for gtk-doc.