dht fixes and additional asserts/sanity checks

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

git-svn-id: http://libtorrent.googlecode.com/svn@10526 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
fix assert

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

git-svn-id: http://libtorrent.googlecode.com/svn@10528 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
python bindings fixes

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