(PUP-514) Support last_captures_rest for lambdas
This adds the ability to define a lambda with "last-captures-rest"
semantics and to call it.
As a consequence, when a lambda with last captures rest semantics is
given to one of the iterative functions, a serving size of two
parameters is assumed