Fix a warning.
Enable TemplateHaskell/dynamic on Travis for GHC >= 7.8.
Enable building cabal-install on the Travis build bot.