Reintroduce get_networks

Its removal made floating ip allocation fail. The method is restored,
but following indications from Ryu to prevent the performance problem.

Fixes MN-950
Signed-off-by: Galo Navarro <galo@midokura.com>