[TASK] Cleanup ext:frontend web_info module routing

The function menu of info module API method can create
proper link targets without mentioning index.php. The
patch is a preparation for switching the entry point
of info module to mod.php.

Change-Id: I467e99ff50513033f887049e5b4a487f0ade645b
Resolves: #55797
Relates: #55672
Releases: 6.2
Reviewed-on: https://review.typo3.org/27482
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn