[TASK] Set TYPO3 version to 4.5.37-dev

Change-Id: Ib1d17b43dce8d0abd1c56494495f62863cb3d18d
Reviewed-on: http://review.typo3.org/32936
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[TASK] Optimize speed for instantiating class with arguments

PHP reflection has quite an overhead in performance.
Use a switch construct like in Flow instead to
instantiate classes with up to 8 arguments without
reflection.

Resolves: #53682
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I8ab21fa5ae609fc4653205f4b53c51ed61618ea7
Reviewed-on: http://review.typo3.org/33308
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
[SECURITY] Fix RCE in swiftmailer

A remote code execution vulnerability was fixed upstream
which is now also fixed in the code we deliver with TYPO3.

This is not a full upgrade of the library but a backport
of the security fix.

Change-Id: I17c960e0c087b011032754839a2dafb0e2e57b50
Resolves: #59573
Releases: 4.5, 4.6, 4.7, 6.0, 6.1, 6.2
Security-Commit: 59331a6bfbcba0f7f0683a3bd0726670f2e1c7b5
Security-Bulletin: TYPO3-CORE-SA-2014-002
Reviewed-on: http://review.typo3.org/33448
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[SECURITY] Fix DoS in openid

Upgrade openid to latest upstream version.
This includes the sec fix already.

Change-Id: I5bf8375ee1a71c34363d265db3c268444c0e9428
Resolves: #62357
Releases: master, 6.2, 6.1, 6.0, 4.7, 4.6, 4.5
Security-Commit: 436560afcf84c3575a81f1733bb5253c90787733
Security-Bulletin: TYPO3-CORE-SA-2014-002
Reviewed-on: http://review.typo3.org/33449
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
[RELEASE] Release of TYPO3 4.5.37

Change-Id: I2156d74111b5594f5bf18d8cd274877b563b73c7
Reviewed-on: http://review.typo3.org/33461
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
[FEATURE] Enhance info array provided to services

In t3lib_div::makeInstanceService() the info array passed to
the instanciated service class is enhanced with information about
the requested service type, service sub type and the excluded service
keys.

Deprecated references to global vars have been replaced with $GLOBALS
array.

Change-Id: I45d39b3a526ab2c9a2ce273784ecdc4c3f03affd
Resolves: #26410
Reviewed-on: http://review.typo3.org/1776
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
[+FEATURE] Extbase (Persistence): Allow pid of object to be set from action-controller

If pid of an object is set then
Tx_Extbase_Persistence_Backend->determineStoragePageIdForNewRecord()
needs to give it priority.

Thanks to Michael Budnick and Balisky Christophe.

Change-Id: Ib99400eb6947044dd190d47de5dce0c63444bb20
Resolves: #7572
[TASK] Translate labels in paginate widget

The previous / next labels in the paginate widget are replaced with
translations.

Resolves: #27516
Releases: master
Change-Id: I0cad4e7d6b92a7890158edc00604ac142c791e80
[BUGFIX] Removed dependency on TYPO3_MODE in saltedpasswords

Removed dependency on TYPO3_MODE constant in saltedpasswords which was
used to determine if the extension is enabled and which table (fe_users
or be_users) should be updated.

Since the mode is required in the init process of saltedpasswords where
the parent auth object is not available the new data in the info
array (introduced in #26410) is used.

Change-Id: I04180d283d6818b2e09d33f82036f6f88a5cb26c
Resolves: #22881
Reviewed-on: http://review.typo3.org/1778
Reviewed-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[TASK] Extbase (Persistence): Remove duplicate registration in identity map

Remove identity-map registration from
Tx_Extbase_Persistence_Repository->findByUid()
since the object has already been registered in the DataMapper
in mapSingleRow().

Thanks to Alexander Stehlik.

Change-Id: I76382f6f12cbcc290f70cd52a465f2c92f7bf4c2
Resolves: #26875
[BUGFIX] Fix PHP warning when writing to Backend user log

The writelog method for the BackendUserAuthentication object is now
checking if there is actually an uid available in the user array
before it tries to access it.

This prevents a PHP warning about an illegal string offset when writing
log messages in an authentication service.

Releases: 6.0, 6.1, 6.2
Resolves: #49328
Change-Id: I3eb028ab3ee00626328ebd2bbf2ad62a22773ac3
[TASK] Collection of unofficial fixes

Fixes that are not meant to be commited to the core or are custom
workarounds for specific problems:

Tables starting with user_piwikintegration_ are ignored in the install
tool schema comparator.

The $isModified property of the ObjectStorage is set to TRUE by
default to fix problems with non persisted changes.

The handling of union statements for ORDER BY usage in the
Typo3DbBackend is improved.

The form.errors view helper merges all property errors.

Change-Id: I91a37be041637d2779178355530dde3f27be5a7f