Update Session namespace for Symfony 2.3
Update forward method class for Symfony 2.3
Deprecated getEntityManagerForClass for Symfony2.3