fix deprecated-functions=off build

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10199 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged changes from RC_1_0

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10200 a83610d8-ad2a-0410-a6ab-fc0612d85776
more missing include fixes

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10201 a83610d8-ad2a-0410-a6ab-fc0612d85776
transition to use boost.random instead of rand() and custom pseudo random generator

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10203 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged changes from RC_1_0

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10204 a83610d8-ad2a-0410-a6ab-fc0612d85776
clean up some time_t and srand() uses

git-svn-id: http://svn.code.sf.net/p/libtorrent/code/trunk@10205 a83610d8-ad2a-0410-a6ab-fc0612d85776