Make more range operations work on vectors of numbers
@fbury found out that op.rng_max_element_by
does not work on a vector of numbers - but it's relatively easy to support.
One difference in behaviour: for collections the index in the topmost collection is returned; for vectors of numbers the one in the vector passed as an argument. I think they are conceptually different enough to diverge, but it's an inconsistency.