libvirt_vm: Add kernel setter, swap part/file, disk attach/detach

1) Add a function set_kernel_param() to change or remove a kernel
parameter from VM's grub configation file.
2) Add functions to add and activate a swap partition or a swap file.
3) Add functions to attach or detach a image file as a disk.

Signed-off-by: Hao Liu <hliu@redhat.com>
Even that line was separated into two lines. the device string is always first word on the second line. I think in this case it should works well.