Refactoring JSessionHelper class to get rid of static methods

Reference: #4717

This PR removes static methods from the new introduced JSessionHelper for Joomla! 3.4 to improve the testing basis of the code for our PHPUnit tests!