virttest.utils_libguestfs: Add scrub and md device related APIs

Add scrub and device related APIs interface and fix a few pep8 issue