Ignore named dist/ folders

Named hsenvs rename the cabal output directory to dist_<name>. Ignore
them.
Fix building with base-4.5

Not everyone is already on GHC 7.6, thus add support building with
7.4.
Merge branch 'base45'