Reorganization and SteamPipe fixes for buildbsp.py

Not yet tested under windows or cygwin.
VVIS seems to crash.