Added support for VarPat.
Merge remote-tracking branch 'osandbu/ghc-api' into ghc-api
Bringing test cases over from original HaRe, for the renaming refactor.