Wrapper classes for JString classes to get rid of static methods

Reference: #4717

This PR introduces wrapper classes for JString classes to get rid of the static methods to improve the testing basis of the code for our PHPUnit tests!

The static methods (and the wrappers) will be removed completely in Joomla! 4.x.