[HttpFoundation] HTTP Basic authentication is broken with PHP as cgi/fastCGI under Apache

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

In order to work, add this to the .htaccess:

RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
Autoloader should not throw exception because PHP will continue to call other registered autoloaders.

Change 'require' to non-fatal '@include' in the event no file is generated.  Let PHP handle the undefined class, natively.
use require instead of include
[DependencyInjection] fixed private services removal when used as configurators (closes #3758)
[Console] Fixed typo
merged branch willdurand/fix-typo (PR #4240)

Commits
-------

6f343b4 [Console] Fixed typo

Discussion
----------

Fix typo

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

by travisbot at 2012-05-09T16:45:36Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1286723) (merged 6f343b43 into 906f6f66).
Fixed minor typo in slovak translation (validator.sk.xliff).
add composer to gitignore in 2.0
merged branch ondrowan/2.0 (PR #4247)

Commits
-------

f2caf07 Fixed minor typo in slovak translation (validator.sk.xliff).

Discussion
----------

Fixed minor typo in slovak translation (validator.sk.xliff).

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

by travisbot at 2012-05-10T13:14:39Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1294645) (merged f2caf07f into 68eca0f9).
merged branch Tobion/patch-6 (PR #4248)

Commits
-------

9af91a3 add composer to gitignore in 2.0

Discussion
----------

add composer to gitignore in 2.0

it was missing in 2.0 (so switching from master to 2.0 made these files appear as new)

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

by travisbot at 2012-05-10T13:20:31Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1294729) (merged 9af91a36 into 68eca0f9).
[HttpKernel] added some constant for better forward compatibility
[CssSelector] removed an unneeded condition (taken care of afterward in the code) (closes #4269)
[CssSelector] ignored an optional whitespace after a combinator
[CssSelector] updated upstream code repository
[Routing] fixed spelling errors in phpdoc
merged branch sstok/spelling-fix (PR #4275)

Commits
-------

bbf7183 [Routing] fixed spelling errors in phpdoc

Discussion
----------

[Routing] fixed spelling errors in phpdoc

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

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

by travisbot at 2012-05-14T11:17:26Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1326017) (merged bbf7183c into 8d7f7f5b).
Add missing PHPDoc
[Form][DataMapper] Do not update form to data when form is read only
merged branch odolbeau/cs (PR #4278)

Commits
-------

3623580 Add missing PHPDoc

Discussion
----------

Add missing PHPDoc + correct PHPDoc alignment

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

by travisbot at 2012-05-14T15:19:29Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1327970) (merged 36235807 into 72b2f698).
merged branch Romain-Geissler/read-only-form-datamapper-fix (PR #4280)

Commits
-------

47605f6 [Form][DataMapper] Do not update form to data when form is read only

Discussion
----------

[Form] [DataMapper] Read only form datamapper fix

The current 2.0.13 ``Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper`` enables to overwrite data from form values, no matter the form fields are read only or not.

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
License of the code: MIT
Documentation PR: -

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

by travisbot at 2012-05-14T15:50:02Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1328279) (merged 47605f63 into 72b2f698).

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

by bschussek at 2012-05-14T18:06:41Z

Forms don't bind when they are read only, so why is this change necessary?

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

by stof at 2012-05-14T19:29:45Z

@bschussek A read-only child will not be bound but the setter will still be called on the parent object for this field (with the old value), making it mandatory to define setters for read-only fields.

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

by Romain-Geissler at 2012-05-14T19:43:11Z

In my case, the property is still set through a setter even if the field for this property is read only. The problem is the setter is not called with the legacy value it held, but with the value given by the form. In my case the value is transformed from a string to an object by a ``DataMapper``, which returns ``null`` for an empty string/value. Thus, the setter is called with ``null`` instead of the previous non ``null`` value (and not always the same) it held.

This PR just prevent the setter for an object property marked as read only in the form definition from being called.

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

by bschussek at 2012-05-15T08:20:28Z

Ok, :+1: then