Fix bugs related to cloud-api bootstrap protocol.

Fixed following bugs:
1>Cloud 38: cloud-api bootstrap doesn't set UserName and UserPassword in role for LinuxAgent
2>Cloud 40: cloud api doesn't show public ip address
3> Changes to add ssh/winrm port for cloud api
4>Added validation for ssh_password and winrm_password
5>Fixed typo in validation

@muktaa @adamedx