Add DependentConfiguration.builder (and tests)

- and refactor DependentConfigurationTest.groovy to java
Merge pull request #1231 from aledsage/feature/AttributeWhenReady-builder

Add DependentConfiguration.builder (and tests)