[TASK] Small cleanup in Typo3DatabaseBackend

Long lines for database queries are not too long anymore.

Change-Id: I2bfbeb9e5e375c43483af9b3d33264a23a4c6adc
Resolves: #46804
Releases: 6.1
Reviewed-on: https://review.typo3.org/19446
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Integrity test fails

The integerity test checks if TYPO3_DB is a resource. After switch to
mysqli, this is now an object and thus reflected with the patch now.
At the same time, the $link property - while it changed its type - is
now made protected, and a getter / setter is added.

Change-Id: I5ecdcc27f628352a26a51fc28d5a9d7be5e16315
Resolves: #46805
Related: #36419
Releases: 6.1
Reviewed-on: https://review.typo3.org/19447
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[TASK] NEWS.txt entry about mysql to mysqli switch

Change-Id: Idb67b153daea1a233e54ec164b4abdb9cbeb331c
Related: #36419
Reviewed-on: https://review.typo3.org/19443
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn