Proper state checking and general unpbssifying.
Merge branch 'devel' of https://github.com/saga-project/saga-python into devel