Add a base class for plugins to perform binary discrimination

Make DumpClassMvaPlugin inherit from this base.