Update `overrides` section. Add tests @aknysh (#1259)
## what- Update
overrides
section - Add tests
why
- Improve the overrides section to detect and process the inline overrides in the imported stack manifests to allow the configurations like these:
vars:
stage: prod
import:
# The `overrides` is imported after the component `c1` is imported.
# The `overrides` should not override anything for the component `c1`.
- catalog/c1
- catalog/overrides
vars:
stage: prod
import:
# The `overrides` is imported before the component `c1` is imported.
# The `overrides` will override the component `c1` configuration.
- catalog/overrides
- catalog/c1