db: add bindings for CompilationDatabase