Add flapping detection logic in ZkStateChangeListener. Each
zkHelixManager will disconnect itself if flapping is detected (become
disconnected for X times in previous Y time window)
Adding more testcases for flapping detection
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-helix
Remove accidental copy paste