[FLINK-1230] Add documentation and an example for collection-based execution

Maybe a link to the example program?