Used cabal project directory to run ghc-mod when cabal project is available to fix problems with template haskell openFile calls
Merge pull request #162 from anton-dessiatov/master

Use cabal project directory to run ghc-mod when possible