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.
Extra empty line detected at body beginning.