libknet: fix set/get_priority and document them

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>