GRAILS-10265 - reorganize some logic
fix for GRAILS-4260 "BuildConfig has no environment support"
Merge branch 'master' of github.com:grails/grails-core
fix failing tests
GRAILS-9162 - improve consistency of testing grails.validation.ValidationErrors

This changes fixes GrailsUnitTestMixin to configure ValidationErrors.getAt to return a String instead of a FieldError which allows GrailsUnitTestMixin tests to behave more like GrailsUnitTestCase tests.
fix failing tests
fix failing tests
Merge branch 'master' of github.com:grails/grails-core
fix failing tests