expr: boolean fixes

Scalar boolean interface

isnan attribute on tables

Not uses operator.invert, not operator.not
Merge pull request #456 from mrocklin/boolean-fixes

expr: boolean fixes