[TASK] Fix deprecated things in sysnote

The extension sysnote uses deprecated methods in the repository and
the controller. This patch will adjust that.

Fixes: #45349
Releases: 6.1

Change-Id: I7270efb264b80eb852ad972e8a492c0941e83be2
Reviewed-on: https://review.typo3.org/18194
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
[BUGFIX] Deactivating "install" extension leads to exceptions

Uninstalling the "install" extension leads to exceptions in
required system extensions like extensionmanager or lang.

The solution is to make "install" a required extension too.

Change-Id: Id5a0ebd9400648cd7c453d98b58e8cad1d155bd8
Fixes: #43361
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16824
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Oliver Klee
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn