Slave Stats contains direct dependency list
Add feature: Generate clang commands file when requested.

* Also clean up the inOrigCwd mess