libknet: add link api call to get list of configured links

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