Remove dependencies on cgi and MonadCatchIO.

These are problematic for multiple reasons, and make it difficult to
support GHC 7.8.
Bump version.