Parse functions for virsh 'list' commands & fix imported cgroup_utils

Hi, there:

I added two functions about parsing output,
because both sathnaga and me need parse output of virsh commands like below:
```
 Id    Name                           State
----------------------------------------------------
 -     jeos                           shut off
```

And a common function to do this work will be more suitable,
so @sathnaga, please check my version and give me your advice.

BTW, utils_cgroup in autotest/client/shared has been changed to cgroup_utils in autotest/client,
so I fixed it to make utils_test running~