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.
Merge pull request #671 from sghill/xplatform-tests

Make DropwizardResourceConfigTest cross-platform