Related-Bug: #1390392

1. Added checks while waiting for new network to be synced-up in API
   Server.
2. Ensure that there no vmi back refs & instance ip back refs before
   deleting network

Change-Id: Ie254b81a4809df85c8ef8f23dee73d8c94588232