merged changes from RC_1_0

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

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@10579 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
remove size_type typedef in favor of boost::int64_t

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

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