Use other-extensions so that TH is not on by default.
Ignore cabal sandbox files.
Fix #92.

This was incredibly painful, getting our test suite to play nicely
with cabal. In the end, I used a terrible hack just to get the mtl
package working. But it's done now.