utils: add Random

Moving all random-related routines to a separate class. This also might be a first step to make the program behave determinate in all conditions. Warning: none of the actual calls use this class yet.

Signed-off-by: mkhropov <mkhropov@gmail.com>