Name escaping for jobmanager webfrontend
throw exception instead of return max dop of 1 one IOException (from file system/hdfs)
Fix workset iterations in scala frontend

We used the globalPos to create WorksetIteration, these are not
available before the post pass has run, therefore use the localPos for
now.

Also add maxIterations parameter to iterateWithWorkset