virsh-domain: Clean up cmdSendKey
virsh-domain: Clean up cmdSendKey

Rename the get_integer_keycode helper to vshKeyCodeGetInt and get rid of
a unneeded typecast.

crobinso/libvirt,nertpinx/libvirt,rlaager/libvirt,elmarco/libvirt,jardasgit/libvirt,andreabolognani/libvirt,elmarco/libvirt,datto/libvirt,rlaager/libvirt,jardasgit/libvirt,cbosdo/libvirt,elmarco/libvirt,zippy2/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,crobinso/libvirt,shugaoye/libvirt,libvirt/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,nertpinx/libvirt,eskultety/libvirt,libvirt/libvirt,agx/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,jardasgit/libvirt,zhlcindy/libvirt-1.1.4-maintain,datto/libvirt,cbosdo/libvirt,cbosdo/libvirt,agx/libvirt,agx/libvirt,shugaoye/libvirt,taget/libvirt,datto/libvirt,eskultety/libvirt,taget/libvirt,agx/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,taget/libvirt,elmarco/libvirt,crobinso/libvirt,shugaoye/libvirt,jfehlig/libvirt,shugaoye/libvirt,datto/libvirt,libvirt/libvirt,taget/libvirt,zippy2/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,datto/libvirt,fabianfreyer/libvirt,zippy2/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jfehlig/libvirt,eskultety/libvirt,olafhering/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,libvirt/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jardasgit/libvirt,olafhering/libvirt,taget/libvirt,cbosdo/libvirt,nertpinx/libvirt,zhlcindy/libvirt-1.1.4-maintain,eskultety/libvirt,jfehlig/libvirt,andreabolognani/libvirt,rlaager/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,VenkatDatta/libvirt,elmarco/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jardasgit/libvirt,rlaager/libvirt,agx/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain