Refactored site.py into functions.  Also moved over to using sets.

New regression test suite.
diff --git a/Misc/NEWS b/Misc/NEWS
index ffc21d0..9f7842e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -322,6 +322,9 @@
 Library
 -------
 
+- refactored site.py into functions.  Also wrote regression tests for the
+  module.
+
 - asyncore.loop now has repeat count parameter that defaults to infinity.
 
 - The distutils sdist command now ignores all .svn directories, in