Use cabal-dev.
Updated persistent libraries.
Well, it does compile, at least.
Cleaned up after hlint.