fix race condition triggered in the unit tests by requiring a libtransmission thread lock in torrentRemove()

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@13905 f4695dd4-2c0a-0410-b89c-da849a56a58e
fix a race condition error in rename-test

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@13906 f4695dd4-2c0a-0410-b89c-da849a56a58e
fix a race condition error in move-test

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@13907 f4695dd4-2c0a-0410-b89c-da849a56a58e
fix oops

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@13908 f4695dd4-2c0a-0410-b89c-da849a56a58e