[TASK] Update RequireJS to 2.10

Replace the existing RequireJS code
with the latest version, which is backwards-
compatible and fixes some requireJS bugs.
See http://requirejs.org/docs/download.html#releasenotes

Releases: 6.2
Resolves: #55543
Change-Id: I8ef64858b762a93db0c032509f100235424c2d9a
Reviewed-on: https://review.typo3.org/27224
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn