Add list_networks and add_nic methods to VM OM

Change-Id: Ib780c7324e5ae3a82785c121480e45ae7f094953
Fail if one or more VMs are using network when deleting network from VApp

Change-Id: I7167a1ee7112ddafd90b51e45f930e752e86a197