added helpers: euca_nanosleep and euca_srand
Added a small random delay in front of download

Fixes EUCA-9760
cleaned up random number generator seeding
Merge branch 'dev/dmitrii/EUCA-9759' into testing

Conflicts:
	util/misc.c