fix logical error on dir state recovery
add missing error check on mkdir
incorporated Danila's changes.
re-introduced marks fixes
removed spurious line
added test config for archer
re-enable test for PBSPro_10, as discussed with Ole.

Ole, this looks ready to merge into devel, IMHO
Merge branch 'fix/issue392' of github.com-oleweidner:radical-cybertools/saga-python into fix/issue392