[TASK] Improve Installer database selection step

Make the following adaption:
 * Change the order of the two options.
 * Preselect the first, empty, existing database.
 * Add a hint, that the user must have sufficient privileges
   to create a new database.

Resolves: #51931
Releases: 6.2
Change-Id: I823a194ddd1dc3aad2d560354bce20855c5c372c
Reviewed-on: https://review.typo3.org/23770
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Install tool: Sort "All configuration" sections

Order the sections in all configuration alphabetically.

Change-Id: I2096d2b0d8892e93a5740d0ad2b7dee1ddceb93e
Resolves: #47740
Releases: 6.2
Reviewed-on: https://review.typo3.org/23791
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Use lambda functions instead of create_function

Make use of the possibilities of PHP 5.3+ and replace all
instances of create_function with an inlined function call.

Change-Id: I3ebabd56efe5d7e3ee07cffbf1f3bb6b5c85e7ff
Resolves: #51937
Releases: 6.2
Reviewed-on: https://review.typo3.org/23782
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Christoph Dörfel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Call to undefined method setTemplateFile

Call to undefined method when setting
'pageHeaderFooterTemplateFile' in TypoScriptFrontendController.
This needs to be called on the page renderer object.

Change-Id: Ic4407addb5d22f09fc4cd6482cc79ad5af724582
Resolves: #51891
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/23734
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Replace SHOW DATABASE by query to schema

The SQL query "SHOW DATABASE" may be restricted on the SQL Server.
Since MySQL 5.0 (which is minimum since TYPO3 CMS 4.7) we can also query
the information_schema table to gather the information to which table
we have access.

Resolves: #47744
Releases: 6.2, 6.1
Change-Id: Ie65abadeed54cbc54bee401bdc1aab18ffc8eea6
Reviewed-on: https://review.typo3.org/23637
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Use a 401 header if login is not successful

If login is not correct, a 401 should be used instead of a 200.

Change-Id: Ia2fa139e89fe19df77bb0530b4fbce502506f524
Resolves: #51803
Releases: 6.2,6.1,6.0,4.5
Reviewed-on: https://review.typo3.org/23649
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Also consider JPEG files for IM/GM

The Core does not check for the JPEG file extension
when converting images with IM/GM.

Resolves: #51981
Releases: 6.2, 6.1, 6.0
Change-Id: I148ecb0d3c71fdee563476c33865cd18420b2384
Reviewed-on: https://review.typo3.org/23810
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
[BUGFIX] Install tool: Fixed document header

The document header is not at a fixed position but "scrolls away".
Fix this by adding a missing t3skin structure .css that defines this.

Change-Id: Ia1b3209db1b5fa08157002bca950110830e2403e
Resolves: #51989
Related: #50910
Releases: 6.2
Reviewed-on: https://review.typo3.org/23812
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Add new icon for ext:reports

Add a new icon for ext:reports-module and adjust the
IconViewHelper. Removes 2 old icons.

Change-Id: Iff731cc27ad8e6323aea8c6c01c036f3a776b3e2
Related: #41631
Resolves: #51993
Releases: 6.2
Reviewed-on: https://review.typo3.org/23818
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[FEATURE] Install tool: Left menu at fixed position

* Streamlines install tool main template.
* Adds a ContextService and use that in the templates.
  No more huge if/then/else constructs to differentiate
  standalone and backend modes.
* Fixes the left menu (and TYPO3 logo), letting the
  rest scroll up and down.
* In backend mode the menu and content starts right on top
  (no further headers to make scrolling look good)

Releases: 6.2
Resolves: #50910
Change-Id: Ie2ec277026a82332b533af51a37e7f308dd24e8c
Reviewed-on: https://review.typo3.org/23798
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
[TASK] Clean up install tool module

Resolves: #51996
Releases: 6.2
Change-Id: I5afca17c80931f3f9946fa5f33dc29fd1f572644
Reviewed-on: https://review.typo3.org/23823
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel