Scale out flow priorities

So that more priorities can be accommodated in the future
Merge pull request #25 from changbl/working

Scale out flow priorities
Zookeeper failover