lxcSetSchedulerParameters: reverse order of tests; diagnose a failure
lxcSetSchedulerParameters: reverse order of tests; diagnose a failure

* src/lxc/lxc_driver.c (lxcSetSchedulerParameters): Ensure that
"->field" is "cpu_shares" before possibly giving a diagnostic about
a type for a "cpu_shares" value.
Also, virCgroupSetCpuShares could fail without evoking a diagnostic.
Add one.

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