[libvirt] [test-API PATCH 4/4] main: rename to Main class and use class Filter & CaseCfgCheck