Wrapper class for JUser to get rid of static methods - Refactoring

Reference: #4717

This PR introduces a wrapper class for JUser 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.