Port of #196 (improvement on config DSLs) to V11 branch

ref. https://github.com/fluent/fluentd/pull/196#issuecomment-24091180