util.c: clean up check_dnssl_presence and check_rdnss_presence
add print_safe_buffer
configure.ac: add PKG_CHECK_MODULES([CHECK])
add unit tests
add dnssl and rdnss checks