[UPGRADE] Tweaking formatting error with event listener section. Also tweaking values

Some of the values here are either wrong, or are drawing their logic from an area I can't find. I've used the following logic for this change:

* security.firewall - this is easy, it just changed

* locale listener - this didn't exist in Symfony 2.0, but it was done on the RouterListener::onKernelRequest(), which had a priority of 0. The new listener has a priority of 16

* The early request router listener is gone - I'm not sure it has an equivalent

* The RouterListener priority changed from 0 to 32
bumped Symfony version to 2.1.0-DEV
[DoctrineBridge] Fixed the type guesser for doctrine 2.3
[Form] Implemented a more intelligent caching strategy in FormHelper (PHP +100ms, Twig +100ms)
[Templating] Cached the result of escape() in order to improve performance (+470ms)
[Form] Extracted common parts of FormHelper and FormExtension into separate classes
[Form] Fixed passing of variables in the FormRenderer
Fixed my rubbish English
[OptionsResolver] Slightly tweaked the performance of the Options class
Update master
[FrameworkBundle] minor typo in controller action docblock
[Form] Fixed consideration of Twig's template inheritance and added another performance-improving check
[Form] Fixed DoctrineType to use getManagerForClass() if no EM name is given
merged branch jonathaningram/patch-7 (PR #4950)

Commits
-------

764b1de [FrameworkBundle] minor typo in controller action docblock

Discussion
----------

[FrameworkBundle] minor typo in controller action docblock
merged branch bschussek/issue4125 (PR #4953)

Commits
-------

17ca9b6 [Form] Fixed DoctrineType to use getManagerForClass() if no EM name is given

Discussion
----------

[Form] Fixed DoctrineType to use getManagerForClass() if no EM name is given

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #4125
Todo: -

---------------------------------------------------------------------------

by stof at 2012-07-17T08:16:59Z

:+1:
merged branch stof/doctrine_2_3 (PR #4941)

Commits
-------

8f99be3 [DoctrineBridge] Fixed the type guesser for doctrine 2.3

Discussion
----------

[DoctrineBridge] Fixed the type guesser for doctrine 2.3

Doctrine 2.3 now uses the drivers moved to Common, so the exception was not catched anymore and was breaking the guessing when a non-entity was used.

---------------------------------------------------------------------------

by craue at 2012-07-16T14:54:30Z

:+1:

---------------------------------------------------------------------------

by ddeboer at 2012-07-17T20:07:57Z

:+1:

---------------------------------------------------------------------------

by stof at 2012-07-17T20:17:01Z

@fabpot please merge this as 2.1 is currently broken when you rely on the form guessers for unmapped classes
merged branch bschussek/phpengine_cache_escape (PR #4942)

Commits
-------

0d0a968 [Templating] Cached the result of escape() in order to improve performance (+470ms)

Discussion
----------

[Templating] Cached the result of escape() in order to improve performance

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

This improvement gains **400ms** of rendering speed on [this particular example page](http://advancedform.gpserver.dk/app_dev.php/taxclasses/1).

---------------------------------------------------------------------------

by lsmith77 at 2012-07-16T17:36:50Z

i guess we don't have to be concerned with increased memory usage here .. if at all we could offer a clear cache method in case someone is f.e. using this to generate tons of messages in a cron job.

---------------------------------------------------------------------------

by henrikbjorn at 2012-07-17T06:39:52Z

The example form is broken.

---------------------------------------------------------------------------

by bschussek at 2012-07-17T07:21:26Z

The source code for the form can be found [here](https://github.com/stof/symfony-standard/blob/twig_forms/src/AdvancedForm/CoreBundle/Form/TaxClassType.php).

---------------------------------------------------------------------------

by henrikbjorn at 2012-07-17T07:28:11Z

But i am guessing this is only for php not twig :P

---------------------------------------------------------------------------

by bschussek at 2012-07-17T07:41:07Z

Obviously..
merged branch bschussek/optionsresolver (PR #4945)

Commits
-------

610c602 [OptionsResolver] Slightly tweaked the performance of the Options class

Discussion
----------

[OptionsResolver] Slightly tweaked the performance of the Options class

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
fix class name in upgrade
merged branch Tobion/patch-1 (PR #4959)

Commits
-------

5233984 fix class name in upgrade

Discussion
----------

fix class name in upgrade