Added ThresholdProducingMetric interface for metrics that compute thresholds for class probabilities. Also adapted IterativeClassifierOptimizer to make use of this functionality.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10934 e0a1b77d-ad91-4216-81b1-defd5f83fa92