Move the inspection analysis code into Sys::Guestfs::Lib library.