add inline wrapper functions to tr_torrent to decouple the rest of the code from tr_completion

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