libvirt: Added support for memory allocation

Updated the plugin to gather memory allocation from the domains.