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.
Created issue #120, but I don’t know if I can create a test case – I’d have to make a request against Mongo to get the result.