Initial commit of the new libusb plugin code.

Breaking this up so it's easier for you to review.
I meant the fact you're calling libusb_close directly, but everything else there's a wrapper function in LibUsbAdaptor.cpp .