GS-684 Improved undeployAndWait to block until admin api does not detect any orphan instances

git-svn-id: svn://pc-lab14/SVN/xap/trunk/openspaces@155407 eb64e737-3616-4df0-8941-5ee2ae88103d