Generate proper bridge port configuration

bnc#879617

* Removed workaround for sysconfig (0.0.0.0/32).
* Huge cleanup.
* Updates for testsuite
it was targeted towards testing reimplementation of search part of the method.