refactored session code to make it more reusable
moved locale management to a locale service provider
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
fixed visibility