Refactor of sliver_lxc and sliver_libvirt.