[BUGFIX] Remove redundant layermenu files

These files were maintained as two individual version. A number of
bugfixes were only applied in one version bot not in the other.

This change adds all missing fixes to the files in "statictemplates" and
removes all code from the files in "cms".

Resolves: #46644
Releases: 4.5, 4.7
Change-Id: I56ce401c73933eda381ce52b4d906a12b6ed963c
Reviewed-on: https://review.typo3.org/19261
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn