[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()

This closes #774, and fixes #772.

showpad/Symfony-Security,symfony/Security