[TASK] Only code style improvements
[BUGFIX] Small TCA fixes

Removed integer evaluation function for tooltip_text and removed max
value for related_image_position.
[TASK] Replaced int with num evaluation in TCA

The related_image_position field is now evaluated with num so that
a zero (0) value will be displayed in the Backend.
[FEATURE] Configurable tooltip appearance

The appearance of the tooltips can now be configured with TypoScript
constants and with properties of each tooltip in the database.

Parts of this code are kindly provided by Harald Witt.

Relates: #51962