Fix various deprecation warnings in tests
[FLINK-1143] Allow delta iterations that do not join with the solution set
[FLINK-1148] Create a writeAsCsv(path, writemode) variant
[FLINK-1152] More robust resource release when tasks are canceled during deployment