Generate ghc package.cache before running spec
Correct check-packageid/cabal.sandbox.config.in
Add some test data

..for testing behaviour with multiple versions/ids of packges being
available
Add package.cache to .gitignore and make .cabal-sandbox absolute
Add cabal file to `duplicate-pkgver` test data

It's not really valid but enough to make ghc-mod happy, without it
findCradle doesn't work properly and without the empty `library`
sections it crashes even.
Add test data to Extra-Source-Files
Add `fromInstalledPackageId`
Factor out `readProcess'`
Add `withDirectory_` to Utils
Parse cabal `setup-config` to get depencencies
Fix failing test
Add UtilsSpec
Add `cabal` to PATH in travis script
Remove test/*/setup-config before spec
Cabal needs empty 00-index.cache and 00-index.tar in sanxbox
Remove `Maybe` from `cabalConfigDependencies` and `fromInstalledPackageId`
Use `componentsConfigs` instead of `configDependencies`

`configDependencies` was added in Cabal-1.20 but we're using 1.18 on travis.
Merge pull request #233 from DanielG/dev-pkgs

Make package dependencies consistent with Cabal