[HttpFoundation] allow to retrieve paths of arbitrary depths
Merge remote branch 'symfony/master' into experimental
Merge remote branch 'Funsational/master'

* Funsational/master:
  Update PDO session storage to check if any rows are updated when doing a session write. If no rows are udpated when performing a session write it generally means that we have created a new session id somewhere and we have not inserted into the database. This is the case for when calling regenerate_session_id() from the native session storage class. It will update the session id then call sessionWrite() to save the session but since the new session id does not exist in the DB, no rows are updated and any new session attributes such as security tokens are lost.
[HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
[HttpFoundation] changed default value of Cookie httponly argument to match PHP defaults
[HttpFoundation] renamed Cookie::getExpire() to getExpiresTime() to be consistent with the DomCrawler component
[HttpFoundation] fixed expiration time for Cookie (PHP wants a Unix timestamp)
fixed session management in functional tests
Merge remote branch 'hhamon/shared_maxage_fix'

* hhamon/shared_maxage_fix:
  [HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
Merge remote branch 'symfony/master' into experimental
[HttpFoundation] fixed wrong method name
removed empty lines/trailing spaces
added support for setting a custom default format in Request::getRequestFormat()
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
added text/html to default format mapping
[HttpFoundation] fixed getScheme() method
[HttpFoundation\File] Removed realpath()
[HttpFoundation] fixed FilesystemSessionStorage
Merge remote branch 'merk/file'

* merk/file:
  [HttpFoundation\File] Removed realpath()
Added 201 to the possible status codes that indicate a response is a redirect.