[FEATURE] Allow ContainerViewHelper to load RequireJS modules

Add $includeRequireJsModules to ContainerViewHelper that loads RequireJS
modules, if given.

Resolves: #63913
Releases: master
Change-Id: Ie8464963eb421eca65c0a3c750920037bcee78bc
Reviewed-on: http://review.typo3.org/35488
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
[BUGFIX] Forms in sys_action need localization and rearrangement

Resolves: #62837
Releases: master
Change-Id: I34ed297bc2b1d2616219ec27b3e3b796ea55c7cd
Reviewed-on: http://review.typo3.org/35613
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
[TASK] Fix common misspellings and typos

Resolves: #64051
Releases: master
Change-Id: I7a36da752fb72d30b5504003cc494feb835a8592
Reviewed-on: http://review.typo3.org/35661
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[CLEANUP] Remove superfluous ContainerViewHelper

The ContainerViewHelper in EXT:beuser is removed due to identical
functionality introduced in Ie8464963eb421eca65c0a3c750920037bcee78bc.

Resolves: #64053
Related: #63913
Releases: master
Change-Id: Ic918a090c605a01a63de6b46d45e91fb4a2378e9
Reviewed-on: http://review.typo3.org/35662
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[TASK] Performance: Avoid using array_keys in foreach

This lowers the memory usage.

Iterate on the original array instead of an array_keys()-copy
which lowers memory usage and enhances performance.

Change-Id: If65fae1665e242667d621f086a55a22a8d5309ed
Resolves: #64004
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35373
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
[FEATURE] Allow RequireJS module loading to execute custom code

When loading RequireJS modules, it is sometimes helpful to
execute custom code or set inline settings coming from the
server side.

A second parameter in the PageRenderer->loadRequireJsModule

allows to work exactly like using the JS code directly for
require([module], function() { customCode(); });

This is used as a basis to allow proper coding of JS changes
like the legacy tree functionality.

See the current Storage API change for an example on how to use
this.

Releases: master
Resolves: #64036
Change-Id: I7a84f930f7aeab8e46fcf93639055576f751a304
Reviewed-on: http://review.typo3.org/35635
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
[FOLLOWUP] Fix missing semicolon

Resolves: #64036
Releases: master
Change-Id: I7899481c2229ee3f9c5dfcca695cf025cec0cb33
Reviewed-on: http://review.typo3.org/35667
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>