libxo: pciconf changes

Submitted by: se@
Differential Review: https://reviews.freebsd.org/D1206
add some json tests
Merge remote-tracking branch 'splbio/ap_libxo_master' into ks_libxo_ls