sql: support IS NOT? NULL predicate (closes #20)