Fix compilation of Setup.hs with GHC 6.9
In Setup, tell haddock about GHC.Prim
Follow Cabal changes
Use simpleUserHooks rather than defaultUserHooks in Setup.hs Cabal says that defaultUserHooks is deprecated.
Move the register-inplace special-case stuff into the ghc-prim package
Initial commit; code copied from the base package