Change for ghc-7.8.2

Rewrite parser from peggy to attoparsec
fix dependences