[FLINK-1005] Add non-object reusing variants of key-grouped iterator.

Clean minor javadoc errors.
[FLINK-1005] Make GroupReduce configurable to use either mutable or immutable object mode