Add support to update network profile

Allow network profile update and delete only if no network segment
is using the network profile. Allow add-tenant and remove-tenant
options to be repeatable.

Icehouse port