Add cabal file

TODO: Add version bounds, decide GPL version, add LICENSE file and write
description.
Refactor EventStore.hs

Removed some unnecessary liftIO, and some other wibbles.