merged changes from RC_1_0

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10200 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
more missing include fixes

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10201 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
transition to use boost.random instead of rand() and custom pseudo random generator

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10203 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
merged changes from RC_1_0

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10204 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
clean up some time_t and srand() uses

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10205 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda