More operations

* date field extraction
* array length
* `case when`/`$cond`

I think this wraps up the low-hanging-fruit between Postgres and Mongo for issue #63.