fix typo
bugfixes for virt stats module functions
Check for target device in XML definiton, stopped VMs does not have
targets.
Return int for cputime_percent