libvirt_xml: Introduce a method get_section_string() in base

Sometimes we need to get the all element in xml, this
method will return a string of a element.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
@yangdongsheng ok, I will modify as what you said, Thanks