improved handling of sys.path
improved handling of sys.path

Better manipulation of sys.path, in particular avoiding constant growth

cclauss/stash,jsbain/stash,cclauss/stash,ywangd/stash,jsbain/stash,ywangd/stash