ioreg: Add support for inner doc comments

This reworks the parser to distinguish between inner and outer doc comments.
Looks nicer.