Porting the diagnostics PaaS cmdlet to WAD 1.1

The WAD 1.0 extension will be deleted, effectively breaking this cmdlet.
Porting the diagnostics PaaS cmdlet to WAD 1.1

took comments from ogail
Merge pull request #2595 from ericprun/dev

Porting the diagnostics PaaS cmdlet to WAD 1.1