update cabal file for ghc 7.8 & general cleanup