Support nested configuration overlays in advanced.config.

- Allow arbitrarily deep config overlays.
- Use orddict:merge instead of nested foldl's for clarity