ported groupByUntil function.
modified groupByUntil include the key of the group in the closings function.
Added support for custom functions in combineLatest.
Delegate to combineLatest overload.