Fix test-framework to compile with 7.8

GHC 7.8 includes `Functor` instances for `OptDescr` and `ArgDescr`, so I added a pragma to omit their definition in `test-framework`.