Refactoring repository-manager SPI to capture total repository config in a single object

(sort of a repo environment)

This can be used to reference the environment without knowing composition details. Adjusting domain model, other SPIs in response to these changes.