refactored session code to make it more reusable
feature #842 [2.0] refactored session code to reuse Symfony listeners (fabpot)

This PR was merged into the 2.0-experimental branch.

Discussion
----------

[2.0] refactored session code to reuse Symfony listeners

Now that HttpKernel contains Symfony listeners for session, let's use them.

Commits
-------

7fbae7f refactored session code to make it more reusable
feature #841 [2.0] moved locale management to a locale service provider (fabpot)

This PR was merged into the 2.0-experimental branch.

Discussion
----------

[2.0] moved locale management to a locale service provider

I've also made the URL matcher optional is none is available.

Commits
-------

e466a91 moved locale management to a locale service provider
adding a new interface for providers willing to register event listeners
moved Swiftmailer finish call to a proper listener
emptied the boot() method of the remember me service provider
moved fake routes for the security service provider to a connect() method (with auto-registration)