Update virsh.rb to use IPAddr mask getter

Changed loadSubnets to use the monkey patched functionality of getting the netmask from IPAddr.
In this case setting the netmask by supplying a prefix and getting it converts the CIDR notation to the dot-decimal notation.