added safe state wait methods to HazelcastTestSupport for issue #3632
fix attempt for issue #3632 by waiting cluster to be safe before closing connection between nodes
Merge pull request #3644 from serkan-ozal/fix/master/issue-3632

Fix/master/issue 3632