Minor fixes in agent + EC2 Iaas

No more hard-coded kernel Id in EC2 IaaS. And IP address not required (optional) when passing userdata to agent on the command line.