This commit does the followings:
- Refactor reference table replication logic for replicating to a
single node instead of always replicating to all nodes
- Add a new parameter to master_add_node(..,.., activate_node
DEFAULT true)
- If activate is true, replicate reference tables
- Else, do not replicate reference tables
- New API for activating node: master_activate_node(host, port)
- currently only replicates reference tables