filter self-references from the cabal dependency list 

Here's my commit message:

> ghc-mod marks each dependency as an ExposedPackage; this makes GHC fail
> while processing a combined library/executable project where the
> executable depends on the library (see snoyberg/keter as an example)