Migrate GHC utility parsing functions from ghc-exactprint to GHC API
Motivation
The ghc-exactprint library has a number of functions for parsing haskell source using the GHC API, in a standalone fashion.
These should become part of GHC itself.
Note: ghc-lib-parser may also be duplicating some of these functions.