(libT) fix red herring issue that tr_mkdirp() was setting errno even if the call succeeded. Add tests to confirm the fix.

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