Add LANGUAGE extensions for inferred signatures.

Some of the inferred signatures required LANGUAGE extensions that
were not enabled. Since now GHC checks that we have to explicitly
list required extensions.
Merge pull request #54 from jstolarek/T8883

Add LANGUAGE extensions for inferred signatures.