Fix to find active entry for add/del operation.

earlier if there is a temp entry created due to reference,
we always fail to add the corresponding ovsdb entry.
Merge branch 'psethi_openvswitch' of ssh://github.com/manishsing/contrail-controller into psethi_openvswitch