Agent changes to call WMI instead of xentools_client.exe
and calling sethostname from resetnetwork
Made agent work with either WMI or exe tools