[FLINK-909] Additional superstep barrier

This cange introduces a new barrier at the end of a superstep to prevent the execution of an extra superstep at termination. It fixes [FLINK-909].

The change depends on [FLINK-951] and uses still the old package naming, since [FLINK-951] was not merged yet.