build_image, image_to_vm: add disk-size assertions

Assert that the image is a multiple of 1 MiB
azure: finalize azure image

The VHDs uploaded into azure must be sized a multiple of 1MB and the kernel
needs some custom boot parameters.