virttest.staging.utils_memory: Add functions to get/set hugepage parameters

These functions can be used to obtain the parameters of hugepage, such as
used/free/reserved memory,and enable/disable the transparent hugepage feature.