make wait() function of ComputeDataService more reliable

show number of running/total CUs in debug log
stop waiting if pilot failed
add sleep
fixing boolean operator
Avoid the dreaded "AttributeError: 'NoneType' object has no attribute
'endswith'" exception...

A.
Merge branch 'develop' into feature/session