Function to access config dependencies on most types.

Not yet fully accurate, e.g. we need something for looking
up part's metadata deps.
Partially implement OCaml units and libs.

For proving the concept of part directory root.