Use Standalone Deriving to support GHC 7.8 Roles

Tested with GHC 7.8.20140130 (ghc/ghc@65d05d7).

Note that this pull request depends on new (yet unreleased) versions of sol/doctest-haskell#73 and ekmett/charset#7.