New exception handler and fixed exceptions.php

Also fixed Symfony component versions.
Back to debug.