Add :keytype and :of named parameters to classify / categorize

So that we can return non-string values from test block if necessary.  This
is unspecced.  If this feels right for TimToady / pmichaud, it should be
specced.  If this doesn't feel right, then I'll revert this patch.
Some more things needed to make :keytype and :of work on classify|categorize