Fixing coding standards for Symfony 2.3 + various bugfixes