HistogramBundle api changes

Adopted IJ1's method for drawing slope line. Results are somewhat better
than before as aspect ratio maintained. The difference in contrast adjustment
between IJ1 and IJ2 is still very apparent.

While at it changed the name of getMin()/getMax() to getMinBin()/getMaxBin().
This rippled through into the Threshold command.