doc: test-writing-guidelines: Add TERRNO and TTERRNO

* Add note about TERRNO and TTERRNO for ttype

* Update umask() paragraph a bit

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>