LPS-38745

Hi Tomáš,

I decided to refactor our Randomizer and due compatibility and to nicely deprecate, I decided to create new RandomUtil and which is using this RandomUtil -> Random interface pattern that we use through out. Random interface is java.util.Random compatible, but not assignable. This is not easiest solution, but I was thinking that this kind of solution fit's on our architecture. What you think?

I did create also the SecureRandomImpl implementation of Random and option for RandomUtil to use that, but it is not used anywhere yet. That would be then task of the other CWE 331 related issues.

StringUtil is still using Random, but it is due that other spring beans are using that before util-spring.xml has been loaded.