Copy ComponentLocalBuildInfo from Cabal-1.18

This way `configDependencies` works even when the Cabal version used by
cabal-install is later than the one used by ghc-mod.
Merge pull request #250 from DanielG/dev-cabal1.16

Copy ComponentLocalBuildInfo from Cabal-1.18