ComputeOtsuThreshold: move to methods subpackage

This matches the location of all the other methods.
Auto generate threshold interfaces and classes

Added templates for generating threshold interfaces. Added the lists of
threshold types to be generated.
Auto generate threshold test classes