Corrected a few issue in commons collections Iterable.

Improved commons collections Generator by not manipulating with sender
of producer. A call to close of the generator marks the end and
continues the consumer.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>