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.
Fix window.prompt scrolling bug
Merge pull request #1 from danr/master

Add cabal file and fix prompt scrolling bug