Store events and projections in database

[x] Store events using Doctrine DBAL
[ ] Store projections using Doctrine ORM