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.