Fix validation error in Linker arising from package rep changes
Update Cabal and haddock to follow the Canal-dep removal changes

In particular, Cabal was still in one place using old file-style package
databases. Haddock just needed simple changes to follow the change of
representation of packages in the ghc library.