Add a command-line utility called 'duchainify'. This utility allows specifying a directory, and the duchain will be built for the complete recursive content of that directory using the specific language supports. Thread-count, duchain-features, verbosity and more can be specified through the command-line.
This utility can be used to profile and debug duchain building, and as basis for possible other applications that might want to use the duchain through command-line.