Delete gateway classes.
Add doctrine orm as a dependency
Use Doctrine 2 ORM.
Add event classes.
Merge branch 'master' into doctrine2-notifications

Conflicts:
	views/question.html