Support state parameter in list_vms command

Support the state parameter in the list_vms command to filter the
VM's to list based on their state.
Fix tabs
Merge pull request #3020 from rtheys/virt-state

Support state parameter in list_vms command