Fix for ClusterMembershipTest.testMembershipListenerSequentialInvocation

Fix for [TEST-FAILURE] ClusterMembershipTest.testMembershipListenerSequentialInvocation #3835

- Adding MembershipListener only to the first node instead of all nodes
- Shutting down Executor in test tearDown
- Some cleanup