[TASK] Remove canBeInterpretedAsInteger and use core API

Releases: 2.0.0
Change-Id: Ic1f25a6d6c93950365ff1d0f455ab569253b5211
Reviewed-on: https://review.typo3.org/31468
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Remove forceIntegerInRange and use core API

Releases: 2.0.0
Change-Id: I51bbe55bd5b7fcd6c960ce6bbc53d9cee32542c9
Reviewed-on: https://review.typo3.org/31469
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters