move 'defaults' logic into the DropwizardResourceConfig.vvalidate method. cleans up code elsewhere