Add a flag, which disables automatic deriving on older versions of GHC.

Versions of GHC older than 7.6 fail on the Generics here.
See #5 and #9