Added getService() and getEnvironment() to DropwizardServiceRule