Short circuit where null

Made API more convenient by making .where() and .having() pass-through (do nothing) when passed an argument of null, undefined or an empty object. Fixes #22.