Reworked NIC, subnet and security group options based on presence of sub...

...net id  and 'associatePublicIpAddress' option when launching a VM.