[FEATURE] Enable multiple emails in reports task

Possibility to insert multiple emails in
reports task to notify multiple people.

Resolves: #41002
Releases: 6.1
Change-Id: I931cd5af64d21bffb34bd024c1f362f06dcaf37c
Reviewed-on: https://review.typo3.org/18019
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Tomita Militaru
Tested-by: Tomita Militaru
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX][Cache][PDO] Duplicate cache entry possible

An identifier must be unique in the database. If some entry is set(),
the PdoBackend removes any entry with a given identifier if the cache
entry exists already. The remove() call is encapsulated with has(),
but has() returns FALSE if a cache entry is expired, so entries with
expired lifetime are not removed properly.
This leads to a \PDOException because of duplicate identifier.

The patch removes the check to has(), so set() will also remove
expired cache entries with this identifier before creating a new one.

Change-Id: Ife4e35223394805fc6d9e0b820a5d42789133f7b
Fixes: #34129
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/9144
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn