Added and enabled rdrand emulation by openssl. Added rdrand_get_bytes_retry() function. File main.c moved to tests directory and added few simple tests.