WIP: Port threshold methods from ImageJ Common
Auto generate threshold interfaces and classes

Moved ApplyOtsuThreshold to the template directory, renamed it, and
modified it as to make it a template for all Apply(name)Threshold classes.
Added a template for generating threshold interfaces. Added the lists of
threshold types to be generated.
Auto generate threshold tests

Auto generate the threshold tests.