Move derefering logic into a plugin and add configuration.

The dereferer logic, while helpful for a lot of people, currently lacks a way to disable it. This is a small change that spikes the dereferer into a plugin with an advanced option to specify a service to use (defaults to the previously hardcoded service).