Let Cabal decide external dependencies

..instead of parsing the cabal file manually and ignoring configure
flags, should fix #185.

Only tested with a cabal user package store not with sandboxes yet.

Also I removed `problematicPackages` because I had to shuffle things around a bit to get everything to use InstalledPackageId which Cabal gives me.  (@kazu-yamamoto is that still needed?)