updates on Azure image to use latest API changes

some refactorings in AzureOSImage and AzureVM to use serialization instead of xml string building/parsing