Conditions in Term#valid_datatype? rewritten to test explicity for boolean classes.

Fixes #39

Note that I had to remove the delegation of :send to :result.
Line is too long. [103/80]