Use the PackageDbStack in the local build info and compiler modules
This lets us pass a whole stack of package databases to the compiler. This is more flexible than passing just one and working out what other dbs that implies. This also lets us us more than one specific package db, which we need for the inplace package db use case.
Showing with 54 additions and 32 deletions