Failover with zookeeper

This version has normal functionality
and basic failover without queue.

1. Failover for packet_in handling
2. Failover for RPC
3. Fix bugs introduced by previous commit