network/dhcpd: cleanup test, apply test_net library

* replace 'ifconfig' with 'ip'
* use tst_iface() to get test interface

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>