Support for dropwizard-discovery

Added optional (disabled by default) support for https://github.com/dropwizard/dropwizard-discovery.  Also cleaned up and refactored the code a bit to demonstrate how to use an [ExceptionMapper](https://jersey.java.net/apidocs/1.18/jersey/javax/ws/rs/ext/ExceptionMapper.html).