Fix printing of bad repository vars
sbuf_finish() is proper here, sbuf_done() just checks if it is finished
Do not accept modes adding or removing rights (make it fatal when parsing plist)
Filter out a+ and a- modes

Reported by:	antoine
Make @owner/@group without an arg set back to default root/wheel as previously documented

I thought a bit about it and if some unstaged or NEED_ROOT ports use @owner/@group without an argument they will get what is documented
Factor out free of previous owner/group
Plug kyua testing with make check/distcheck
Fix pkg.sh test script
Fix pkg annotate -y
Remove pkg -v test which makes little sense
Fix pkg annotate regression test script
Ensure stderr is empty while running the annotate command
Test the newly version built and not the installed one
Add a make cocci target
Fix cocci target
Add a target to run uncrustify (make style-fix)
Reactivate library tests
Fix pkg_validations tests
Fix a regression in pkg_is_valid
Declare parse_mode in utils.h to allow testing it