Dev/inject topdir variable

note: the name of that env.var. is simple and set to match what exists in wscript files, but I could easily be convinced to use something else.

-s