Make DropwizardResourceConfigTest cross-platform

Update testGetEndpointsInfo to use a cross-platform `%n` in
`String.format` instead of the hardcoded `\n`. This allows the maven
build to work on Windows.