fix invariant check. set upload_only/seed before calling disconnect_if_redundant

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10483 a83610d8-ad2a-0410-a6ab-fc0612d85776
merged steven siloti's patch for link order in python binding makefile

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10484 a83610d8-ad2a-0410-a6ab-fc0612d85776