add hash table rebalancing in virHashUpdateEntry
add hash table rebalancing in virHashUpdateEntry

The code in virHashUpdateEntry and virHashAddEntry is really
similar. However, the latter rebalances the hash table when
one of its buckets contains too many elements while the former
does not. Fix this discrepancy.

jardasgit/libvirt,cbosdo/libvirt,bjzhang/libvirt,usc-isi/libvirt,zhlcindy/libvirt-1.1.4-maintain,jeckersb/libvirt,bjzhang/libvirt,iam-TJ/libvirt,jardasgit/libvirt,zippy2/libvirt,bjzhang/libvirt,warewolf/libvirt,rlaager/libvirt,warewolf/libvirt,wiedi/libvirt,shugaoye/libvirt,iam-TJ/libvirt,iam-TJ/libvirt,wiedi/libvirt,rmarwaha/libvirt1,jfehlig/libvirt,soulxu/libvirt-xuhj,datto/libvirt,fabianfreyer/libvirt,dumbbell/libvirt,olafhering/libvirt,danwent/libvirt-ovs,wiedi/libvirt,shugaoye/libvirt,warewolf/libvirt,wiedi/libvirt,emaste/libvirt,trainstack/libvirt,zippy2/libvirt,emaste/libvirt,iam-TJ/libvirt,wiedi/libvirt,foomango/libvirt,libvirt/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,datto/libvirt,agx/libvirt,zippy2/libvirt,leilihh/libvirt,dumbbell/libvirt,foomango/libvirt,taget/libvirt,trainstack/libvirt,leilihh/libvirt,soulxu/libvirt-xuhj,rlaager/libvirt,olafhering/libvirt,danwent/libvirt-ovs,cbosdo/libvirt,eskultety/libvirt,soulxu/libvirt-xuhj,fabianfreyer/libvirt,zippy2/libvirt,rmarwaha/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,shugaoye/libvirt,andreabolognani/libvirt,eskultety/libvirt,rlaager/libvirt,siboulet/libvirt-openvz,siboulet/libvirt-openvz,taget/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,danwent/libvirt-ovs,fabianfreyer/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,usc-isi/libvirt,datto/libvirt,elmarco/libvirt,novel/fbsd-libvirt,trainstack/libvirt,rmarwaha/libvirt1,kantai/libvirt-vfork,agx/libvirt,elmarco/libvirt,rbu/libvirt,rbu/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,VenkatDatta/libvirt,kantai/libvirt-vfork,rlaager/libvirt,soulxu/libvirt-xuhj,jfehlig/libvirt,usc-isi/libvirt,nertpinx/libvirt,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,jeckersb/libvirt,leilihh/libvirt,crobinso/libvirt,jeckersb/libvirt,novel/fbsd-libvirt,foomango/libvirt,warewolf/libvirt,rlaager/libvirt,novel/fbsd-libvirt,crobinso/libvirt,leilihh/libvirt,jardasgit/libvirt,wiedi/libvirt,cbosdo/libvirt,jardasgit/libvirt,kantai/libvirt-vfork,iam-TJ/libvirt,dumbbell/libvirt,rmarwaha/libvirt,libvirt/libvirt,bjzhang/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,danwent/libvirt-ovs,rmarwaha/libvirt,cbosdo/libvirt,dumbbell/libvirt,iam-TJ/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,kantai/libvirt-vfork,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,rmarwaha/libvirt,wiedi/libvirt,agx/libvirt,taget/libvirt,siboulet/libvirt-openvz,warewolf/libvirt,rbu/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,agx/libvirt,emaste/libvirt,emaste/libvirt,eskultety/libvirt,VenkatDatta/libvirt,rmarwaha/libvirt1,foomango/libvirt,olafhering/libvirt,libvirt/libvirt,trainstack/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,datto/libvirt,leilihh/libvirt,nertpinx/libvirt,nertpinx/libvirt,emaste/libvirt,emaste/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,rbu/libvirt,jardasgit/libvirt,rmarwaha/libvirt,taget/libvirt,elmarco/libvirt,dumbbell/libvirt,soulxu/libvirt-xuhj,usc-isi/libvirt,leilihh/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,olafhering/libvirt,crobinso/libvirt,jeckersb/libvirt,warewolf/libvirt,usc-isi/libvirt,warewolf/libvirt,trainstack/libvirt,VenkatDatta/libvirt,rbu/libvirt,eskultety/libvirt,emaste/libvirt,bjzhang/libvirt,jfehlig/libvirt,taget/libvirt,shugaoye/libvirt,elmarco/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt1,foomango/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,rmarwaha/libvirt1,novel/fbsd-libvirt,jfehlig/libvirt,elmarco/libvirt,datto/libvirt,eskultety/libvirt,agx/libvirt,trainstack/libvirt,dumbbell/libvirt,libvirt/libvirt,andreabolognani/libvirt