Simplify not-null-or-undefined checks

Save ALL the bytes!

`a != null` is what the CoffeeScript compiler emits for `a?` -- it's a
cute idiom, and we use it in several places already.
Merge pull request #2698 from joliss/null-checks

Simplify not-null-or-undefined checks