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>
Merge pull request #52 from srvaroa/g-mn950

Reintroduce get_networks