Fixed ERRAI-646: Destroying beans that have observers no longer causes unconditional CDI remote unsubscribe messages

We now first check if other matching local observers are present before unsubscribing from remote events of that type and qualifiers.
Merge branch '2.4'