add unit tests for tr-getopt

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14066 f4695dd4-2c0a-0410-b89c-da849a56a58e
(trunk libT) #5316 'UMR in quark, tr-getopt code': fixed.

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