Add support for additional operations.

So far:
* `lower`, `upper`, `substring`
* `%`/`mod`
* `coalesce`/`$ifNull`

and fixed some `Cond` cases.

Also added string `length` on the front-end, but Mongo doesn’t offer it directly, so we’ll need to use `$where` for that.