doc: test-writing-guidelines

* Add common problems chapter and word about umask()

* Add note about .gitignore files

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