DNN-3493 Build a dependency graph of extension - add new PackageDependencies table
code cleanup