Randomize option value according to option type

Split random functions to random_lib module and updated some
function names.

Signed-off-by: Hao Liu <hliu@redhat.com>
Merge pull request #7 from Hao-Liu/randomize_option

Randomize option value according to option type