Optimized DB queries. DB support FlowMod(add)+FlowMod(mod) rule installation. Minor bugfixes.