remove unused p2p code
add pseudo random number generator
replace random() by custom prng class
Merge branch 'master' into libcvmfs
convert download module into download manager