fileapi: Add a "directory" object to codemodel-v2
Extend the codemodel-v2
object with a "directory" object for each buildsystem directory to contain directory-level information. In particular, report installers generated by the install()
command.
Co-Author: @kyle.edwards