DOSGI-172 Fix various synchronization issues in discovery.zookeeper package

git-svn-id: https://svn.apache.org/repos/asf/cxf/dosgi/trunk@1487678 13f79535-47bb-0310-9956-ffa450edef68