Stop using deprecated stuff of Symfony2
Updated changelog