Change the get_network and get_networks signature

Change the signatures of get_network and get_networks to include
filtering, sorting and pagination information.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>