app/test: extract PCI setup and cleanup functions
app/test: extract PCI setup and cleanup functions

Signed-off-by: Jan Viktorin <077cce75738556d99b8362c6a64d5bba1ba87459@rehivetech.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk