Tweak extractor API

Only allow classes as extractors, and pass a config-dictionary to them. This allows for per-extension configuration.
Prepare 2.5 release.