Add helper methods to get the domain xml from libvirt and write it
back to libvirt
- Require the necessary ruby xml library
- rename the parameter of redefine_domain from xml to domain
  and explizitely convert it to a string
- only fetch the domain xml when it has not been fetched already
Convert ram from parameter to property