DOSGI-171 Fix missing ungetService in EndpointListenerNotifier and unitified duplicate code

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