Update ExceptionController for Symfony 2.3.5.

The namespace of FlattenException has changed in Symfony 2.3.5.