Use hasattr() around os.getuid() which is not available on Windows and that was causing test suite failure.
Use hasattr() around os.getuid() which is not available on Windows and that was causing test suite failure.

git-svn-id: 9f18dd852162ff6c59c5533c0914e9cf81af9e7c@263 d8a29897-7e4b-0410-a74a-8bb4c295346f

hybridlogic/psutil,hybridlogic/psutil,hybridlogic/psutil,tamentis/psutil,tamentis/psutil