made request listener compatible with symfony2.4

in symfony 2.4 we have to get current request from the request stack