Add some support for ghc-modi.

Right now only the 'type' and 'info' functions are supported. ghc-modi's
`make` is still somewhat buggy.
Add ability to test the non-ghc-modi cases.