Better thresholding

Continuation of PR #35.

The global thresholding has been completely redesigned at the September 2014 Madison ImageJ OPS KNIME hackathon™.

The class hierarchy is organized, threshold computation is well separated from threshold application, and the methods are all autogenerated. Win.