[FLINK-1209] [compiler] Improve error messages when forgetting to close an iteration
[FLINK-1250] [config] [docs] Correct and document config keys for heartbeat intervals and timeouts

This closes #212