Fix test logic for Bug 1561: VM not become ready after restarting.
(https://github.com/WindowsAzure/azure-sdk-tools/issues/1561)

Updated test code stops from ready state.
1. Fix 409 issue: Add retrying logic for bug 1813
(https://github.com/WindowsAzure/azure-sdk-tools/issues/1813)

2. Show operation ID in test log.