Fix some issues on FreeBSD.

1. Fix the provisioned user will lose sudo after executing "sudo waagent -uninstall".
2. Fix "waagent -version" throws an exception without /etc/waagent.conf
3. Fix ActivateResourceDiskNoThread does not work on FreeBSD.
4. Fix an exception will be thrown because "/proc" does not exist on FreeBSD.