Reduce the version of base needed from 4.7 to 4.6.

This is needed to allow building with Haskell Platform 2013.2.0.0.
Add cabal config files to gitignore.