add summarizeClassifications to print stats and cm

also make encodeLabels return the encoder, generalize name of
classifier (tested out a simple decision tree without much success),
and add some function docstrings. titular addition helps with #6.
add title arg and generalize labels in plotConfusionMatrix