Fix the blocking problem in reconfiguration by doing 2-phase synchronization.
Merge pull request #155 from EasonLiao/issue_cop

The cluster gets blocked while somebody is joining