vm docker create: delete cloud service on error

Fix for https://github.com/MSOpenTech/azure-sdk-tools-xplat/issues/43

I refactored the code so that create docker vm shares more logic,
with create vm, which should help keep the two consistent.