lib: Add tst_fork() and update guidelines

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