Fix cabal-install for GHC 7.8;  better support for GHC < 7.8

Proposed fix for #177.  This does have the downside that it would
immediately require text-1.1,  which might cause for some people
committed to older versions of the Haskell Platform.