Symfony 2.3 compatibility fix.

The Response object didn't support the HTTP status code constants in Symfony v2.3.