config-parser: Add section iterator API

The X backend needs to iterate through all outputs.
3 files changed