Move template-haskell stuff to new package

It is highly unstable and isn't needed by most users.