Merge pull request #15 from changbl/working

Two minor changes to logging
Use dictionary for tracking all dpids
that have installed a rule towards a mac

Data structure: {mac => {dpid => True}}
Merge pull request #17 from powerist/working

Use dictionary for tracking all dpids that have installed a rule towards a mac
Add leader election via ZooKeeper/Kazoo