[BUGFIX] file_upload missing back icon

Add a back button to:
 * file_upload
 * file_rename
 * file_newfolder

The code is taken from recordlist.

Resolves: #48065
Releases: 6.2, 6.1, 6.0
Change-Id: If328dd20f09875ab486fa3419ec5de9df8955956
Reviewed-on: https://review.typo3.org/20859
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
[TASK] Hide func menu with only one entry

The func menu in a module is used to switch between different views in
the same module.

However if only one item is available, there is no reason to show the
function menu at all.
Also the onchange handler does not work as nothing is changeable.

Count the number of elements and suppress the selector if there is only
one item.

Change-Id: I6bbce41af19c8755c67c7ce5085f94930f4f87f6
Resolves: #48175
Releases: 6.2
Reviewed-on: https://review.typo3.org/20772
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] TCA load regression in eid context

TCA refactoring in 6.1 misses an edge case:
Frontend index_ts loads TCA *after* eid is handled, so there is
no TCA loaded in eid context. Eid scripts that still need
TCA *should* call EidUtility::initTCA(), but some call instead
TSFE->includeTCA(). But includeTCA() is empty now and deprecated.

The patch adds a call to includeTCA() to load TCA, if
GLOBALS['TCA'] array is empty. This makes sure populating TCA
is done only once.

ext:caretaker_instance is affected by this, eg. test "Check
backend user accounts" needs TCA and fails without the patch.

Change-Id: Iaa70fe62e0eba9981e31379b853c968efe1d4cca
Resolves: #47993
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/20554
Reviewed-by: Markus Klein
Reviewed-by: Alexander Opitz
Reviewed-by: Stefan Neufeind
Tested-by: Alexander Opitz
Reviewed-by: Felix Kopp
Reviewed-by: Dmitry Dulepov
Tested-by: Markus Klein