251d75a
Domain config: write <features/> if some capabilities are set. If all features are set to default (including the capabilities policy), but some capabilities are toggled, we need to output the <features> element when formatting the config.