Added a version of Streams.groupBy.