Fix for failing ClusterMembershipTest.testMembershipListenerSequentialInvocation.
- Now adding MembershipListener only to the first node instead of all nodes.
- Some more cleanup
Merge pull request #3936 from ajermakovics/fix/master/3835-membership-listener

Fix for ClusterMembershipTest.testMembershipListenerSequentialInvocation