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

Execution is also single-threaded.