Add FlexibleContexts and FlexibleInstances extensions.

These are needed on the Rec class and instance in GHC 7.4
Merge pull request #1 from hesselink/master

Build with ghc 7.4. Adds two extensions.