Add compdb tool

This tool helps convert Ninja build files to a compilation database
of the form used by Clang tooling.