REF: Simplify _cython_functions lookup
The remaining two non-trivial cases are ("aggregate", "first") and ("aggregate", "median").  The "first" case I think is straightforward.  The "median" case I'm reticent to change because it isn't clear to me why it is a dict at all (cc @WillAyd if you have any ideas)