Preparations for GHC v7.9

This compiles now for the new TH, but is not tested as packages depending on it do not build yet.