Implement support for KVM IP allocation using pre-deploy and post-undeploy hook scripts (OMS-510)

+ Fixes OMS-512 (generation of MAC addresses for KVM VMs)
+ Fixes an issue discovered in implementation of OMS-507 fix