Adding dependency analyzer to kpm

Adding dependency analyzer (`dpa`) into kpm will allow us to build minimal KRE and TPA list in the first round of build.