Factor RPC logic out from session (Qt client)


git-svn-id: file:///data/workdir/Transmission-svn/trunk@14405 1bcf1a7e-6170-4b50-b784-84ec52b2dec6
Add missing <QDebug> include (Qt 4 build break)


git-svn-id: file:///data/workdir/Transmission-svn/trunk@14406 1bcf1a7e-6170-4b50-b784-84ec52b2dec6